#include<stdio.h>
int main()
{
int i=2;
int j=++i + ++i + i++;
printf("%d\n",i);
printf("%d\n",j);
}
Answer Posted / rajesh kumar mahto
i=5 and j=11 (100% correct answer)
this is because
j=5+4+2(right to left execution)
i=5 due to latest updation of i.
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
What is default value of global variable in c?
What is call by reference in functions?
What is hungarian notation? Is it worthwhile?
What is cohesion in c?
What is a void pointer? When is a void pointer used?
What is the need of structure in c?
code for quick sort?
What are identifiers c?
What are the types of operators in c?
What are header files in c?
What is meant by inheritance?
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
What is getch() function?
How can I implement sets or arrays of bits?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters