void main()
{
int i=5;
printf("%d",i+++++i);
}
Answer Posted / vamsi
Hi Guys.....
The answer is
6+6 = 12
The compiler will take the expression as
i++ + ++i
And the expression would be evaluated from Right to left ...
so answer is 12 and i=7;
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What does node * mean?
How many levels of pointers have?
What is this pointer in c plus plus?
what value is returned to operating system after program execution?
What is the use of define in c?
How can you allocate arrays or structures bigger than 64K?
What are the different types of endless loops?
What does %d do?
What does nil mean in c?
What is the use of c language in real life?
Explain argument and its types.
What are the types of variables in c?
What are header files and explain what are its uses in c programming?
Is null always equal to 0(zero)?
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above