manikandan


{ City } villupuram
< Country > india
* Profession * developer
User No # 104743
Total Questions Posted # 1
Total Answers Posted # 1

Total Answers Posted for My Questions # 1
Total Views for My Questions # 6737

Users Marked my Answers as Correct # 2
Users Marked my Answers as Wrong # 3
Questions / { manikandan }
Questions Answers Category Views Company eMail

How do you rate your communication skills?

Canara Bank, IBM,

1 Call Centre AllOther 6737




Answers / { manikandan }

Question { 7750 }

¦void main()
¦{
¦int i=10,j;
¦ j=i+++i+++i;
¦printf("%d",j);
¦getch();
¦}
¦ output:-30
but in same question if we write as-
¦void main()
¦{
¦int i=10;
¦ int j=i+++i+++i;
¦printf("%d",j);
¦getch();
¦}
¦ output:-33
why output is changed from 30 to 33. Can any body answer...


Answer

ithink cannot use void in main().becoz returns integer. and output of this 2 program is 30 only.not print 33

Is This Answer Correct ?    2 Yes 3 No