C Programming Questions and Answers
What will be the output of the program?
#include < stdio . h >int main()
{
unsignedint res;
res = (64 >>(2+1-2)) & (~(1<<2));
printf("%d\n", res);
return0;
}
Option A
What will be the output of the program ?
#include < stdio . h >int main()
{
int i=4, j=8;
printf("%d, %d, %d\n", i|j&j|i, i|j&&j|i, i^j);
return0;
}
Option C