2 Topics

Member Avatar for
Member Avatar for jk2005.jeeva

Hi Anyonem, could you please explain clearly about the order of evaluation of increment, decrement operators in an expression in C? Thanks in advance..

Member Avatar for kommuru
0
375
Member Avatar for nida afaq

Hi, there is a simple code,but i cant understand the output: [CODE]#include<iostream.h> #include<conio.h> void main() { clrscr(); int x=10; cout<<++x<<" "<<++x<<" "<<++x<<endl; x=10; cout<<x++<<" "<<x++<<" "<<x++<<endl; getch(); }[/CODE] output: 13 12 11 12 11 10

Member Avatar for kvprajapati
0
137

The End.