#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
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
Is using exit() the same as using return?
What is New modifiers?
difference between object file and executable file
What are multibyte characters?
Why main is used in c?
How does pointer work in c?
What is masking?
What is a MAC Address?
Why void is used in c?
Why header files are used?
Explain union. What are its advantages?
What is the difference between #include and #include 'file' ?
When should structures be passed by values or by references?
What is use of pointer?