[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

512 / 45

Predict the output of following code.

#include<stdio.h>
void main()
{
int a=2;
if(a-- , --a, a)
printf("Tom");
else
printf("Jerry");
}

ATom

BJerry

CTom Jerry

DError

Answer: Option (Login/Signup)

Show Explanation

Asked In :: TCS

Post Your Answer Here:     

No Discussion on this question yet!