[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

35 / 45

Find the output for the following C program

#include
int main()
{
int Y=10;
if( Y++ && Y++!=10 && Y++)
{
printf("%d", Y);
}
else {
printf("%d", Y);
}
return 0;
}

A1

B13

CError

D14

Answer: Option (Login/Signup)

Show Explanation

Asked In :: Cisco

Post Your Answer Here:     

No Discussion on this question yet!