void main()
{
int i=5;
printf("%d",i++ + ++i);
}

Answer Posted / veeraselvi.g

ans:12
explan:i++ means increment for 6 bt print will be 5;
other i++ for 6 to increment for 7
so ans is 12

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

1329


What does return 1 means in c?

587


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

1492


What is the process to create increment and decrement stamen in c?

588


Tell us something about keyword 'auto'.

666






which is an algorithm for sorting in a growing Lexicographic order

1394


Explain what is a const pointer?

640


What is difference between function overloading and operator overloading?

658


When should the const modifier be used?

658


What do you mean by Recursion Function?

631


What is meant by errors and debugging?

649


write a program to copy the string using switch case?

2401


What is memory leak in c?

636


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

1591


Tell me when would you use a pointer to a function?

608