C Programming :: Increment-Decrement - Discussion
Home > C Programming > Increment-Decrement > MCQs Questions Discussion
30 / 45
What will be output of the following "c" code?
#include<stdio.h>
void main ( )
{
int i=5;
printf("%d %d %d %d %d", i++, i--,++i, --i, i);
}
#include<stdio.h>
void main ( )
{
int i=5;
printf("%d %d %d %d %d", i++, i--,++i, --i, i);
}
A5 5 5 5 5
B5 5 6 5 5
C5 4 5 4 5
D4 5 5 5 5
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!