C Programming :: Increment-Decrement - Discussion
Home > C Programming > Increment-Decrement > MCQs Questions Discussion
5 / 45
What will be output of the following "c" code?
#include<stdio.h>
int main()
{
int i=5,j=6,z;
printf("%d",i+++j);
return 0;
}
#include<stdio.h>
int main()
{
int i=5,j=6,z;
printf("%d",i+++j);
return 0;
}
A12
B11
C13
DCompilation Error
ENone of these
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
STEP-BY-STEP
12 IS THE ANSWER. I IS INCREMENTED BY ONE SO 6 THEN ADD J , J is 6 so 12.
Read Full Answer
Report Error
Please Login First Click Here