Trivia
This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.
As a matter of fact, using the value and assigning to it in the same
expression is EXPLICITLY undefined according to K&R (somewhere; I lent my
copy). Woe to all who try to port such things!
How about:
extern int garbunga;
int garfunc(i) int i; {
i += 5;
return i;
}
void main() {
garbunga = 27;
garfunc(garbunga++);
printf("%d", garbunga);
}
What does this print, and what did garfunc return?