increment operator- help me please
please help me with this.....
b = a++ + ++a+ ++a;
the output is coming b=7...
can any1 plzz explain
Re: increment operator- help me please
This is undefined behavior.
Read Stroustrup's answer to the a++ + ++a FAQ http://www2.research.att.com/~bs/bs_...aluation-order
|All times are GMT +5.5. The time now is 13:38.|