C Programming :: Increment-Decrement - Discussion
Home > C Programming > Increment-Decrement > MCQs Questions Discussion
10 / 45
What will be output of the following "c" code?
#include<stdio.h>
int main()
{
int i=5;
printf("%d %d %d %d %d %d",i++,i--,++i,--i,i);
return 0;
}
#include<stdio.h>
int main()
{
int i=5;
printf("%d %d %d %d %d %d",i++,i--,++i,--i,i);
return 0;
}
A5 4 4 5 4
B4 5 5 4 5
C4 5 5 5 5
DCompilation error
Answer: Option (Login/Signup)
Show Explanation