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
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university
regarding pointers concept
Is c is a middle level language?
Explain the red-black trees?
Why does notstrcat(string, "!");Work?
string reverse using recursion
What is extern variable in c with example?
Is null always equal to 0(zero)?
How can I manipulate strings of multibyte characters?
What does malloc () calloc () realloc () free () do?
What is sizeof int in c?
Explain what is the purpose of "extern" keyword in a function declaration?
What are valid operations on pointers?
Explain bit masking in c?
What are pointers in C? Give an example where to illustrate their significance.