B
BRG
Does anyone here know whether the assignment:
a = x[ a ]++;
is legal in C and, if so, what array element in x[] is post incremented?
That is, does the old or the new value of a determine the index in
x[] of the post incremented array element.
I rather suspect the result is undefined - but am I right?
Brian Gladman
a = x[ a ]++;
is legal in C and, if so, what array element in x[] is post incremented?
That is, does the old or the new value of a determine the index in
x[] of the post incremented array element.
I rather suspect the result is undefined - but am I right?
Brian Gladman