What will be the output of the following C code?

#include stdio.h

int main()
{
int a=0;
a=5||2|1;
printf("%d",a);
return 0;
}

Posted on by