What will be the output of the following program:- int main() { int a=5,x; x=++a + a++ - ++a; x++; a=a + ++x; printf("%d",a); return 0; }

Question:What will be the output of the following program:- int main() { int a=5,x; x=++a + a++ - ++a; x++; a=a + ++x; printf("%d",a); return 0; }

1.17

2.5

3.12

4.13


Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!