Friday, July 31, 2009

Need Help immediately :: What's te output??

int main()


{


int n=10;


clrscr();


cout%26lt;%26lt;n%26lt;%26lt;"\t"%26lt;%26lt;++n%26lt;%26lt;"\t"%26lt;%26lt;n++%26lt;%26lt;"\t"%26lt;%26lt;...


getch();


return 0;


}





It is a question asked in our exam.





It shows 11 11 9 10


on turbo C++


and 10 11 11 12


on Dev C++..





Does this program work on Visual C++?


If yes please give me its output.





I need the real output.

Need Help immediately :: What's te output??
standard c output is:


11 11 9 10


also visual c++(all versions),and g++,gcc will give this output.

deliver flowers

No comments:

Post a Comment