[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

17 / 45

What will be output of the following "c" code?

#include<stdio.h>
int main(){
int x,a=2; 
x=++a,++a,a++; 
printf("%d  %d",x,a); 
return 0;
}

A5 5

B3 5

C4 5

D5 4

ECompilation error

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!