?
What will be the output of the following C code?
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int x = 2, y = 2;
int z = x ^ y & 1;
printf("%d\n", z);
}
#include <stdio.h>
int main()
{
int x = 2, y = 2;
int z = x ^ y & 1;
printf("%d\n", z);
}
Join the Discussion
Login to post a comment or share your explanation.
Login