Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions

Cisco Written Test Qs.(Technical Aptitude) :: Increment-Decrement - Discussion

10 / 122

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!