Re:A glimpse of undefined behavior in C
by NAFV_P on Saturday November 30, 2013 @06:40PM
(#6825215)
The example given in the article shows all the code, but your example involves a function so the code in question is hidden. The behaviour partially depends on how the function is written.
"0 0 1" is what I would expect from your code, and identifier a should end up as 2.
"0 0 1" is what I would expect from your code, and identifier a should end up as 2.