A
Q. What will be the output of the following C code?
Code:
#include <stdio.h>
int main()
{
int a=0;
a=5||2|1;
printf("%d",a);
return 0;
}
int main()
{
int a=0;
a=5||2|1;
printf("%d",a);
return 0;
}
- Correct Answer - Option(A)
- Views: 8
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.