#include<stdio.h>
int main()
{
int i=2;
int j=++i + ++i + i++;
printf("%d\n",i);
printf("%d\n",j);
}
Answer Posted / kailas.s.patil
i = 2;
first ++i = 3.
second ++i = 4.
third i++ = 5;
now i =5;
then, j = 3 + 4 + 5 = 12
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
How can I change their mode to binary?
What is the difference between #include and #include 'file' ?
What is the advantage of using #define to declare a constant?
What are identifiers and keywords in c?
What are bitwise shift operators in c programming?
What is the advantage of an array over individual variables?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
Why can’t we compare structures?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
Difference between strcpy() and memcpy() function?
Tell me what is the purpose of 'register' keyword in c language?
How can I convert a number to a string?
Why is structure important for a child?
What does #pragma once mean?
What is derived datatype in c?