What is the output of the following code?

#includestdio.h
int main()
{
        int r=0;
        r= 10||2|1;
         printf("%d",r);
         return 0;
}

Posted on by