I understand that if I have the following assignment
arr[i++] = 1
is equivalent to
arr[i] = 1;
i++;
But does
arr1[i++] = arr2[j++]
is equivalent to
arr1[i] = arr2[j];
i++;
j++;
What about
int i = 0;
while(i++ < 5){
// do something...
}
Does the machine execute the //do something
first then increase 1 and then evaluate whether i is currently < 5?
Can someone please help me to understand this?