What will be the output of the following ‘C’ program?

1.4 What will be the output of the following ‘C’ program?
main()
{
int a=1;
int b=5;
if(a=5||b>10)
printf(“I will certainly pass”);
else
printf(“I am not so sure about the result”);
}
A) I will certainly pass
B) I am not so sure about the result
C) Error
D) None of the above


Leave a Reply