i use vs2010 compiler and i face an ambiguity
what does the code below means? what is the output and why?
int a;
cout<<(a=2)+(a=3)+(a=5)
im so sorry if the question is asked before or if it is obvious! but i am confiused for the result
output :15
I COULD NOT FIND MY ANSWER HERE:
Why are these constructs (using ++) undefined behavior?
be patient and look at the result again (please)
thanx in advance