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
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.