[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

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);
}

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 ::

Post Your Answer Here:     

No Discussion on this question yet!