What will be the output?
#include<stdio.h>
int main()
{
if((0&&1)||(1&&-1))
printf(“Condition is true.”);
else
printf(“Condition is false.”);
return 0;
}
a. Condition is true
b. Condition is false
c. Compilation Error
d. No output possible
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.
Answer to this question is already available on this website so checkout NPTEL Problem Solving Through Programming In C Week 5 Assignment Answer’s Blog.