Sail E0 Webinar
Question


What will be the output of the program ?


#include<stdio.h>
int main()
{
int i=32, j=0x20, k, l, m;
k=i|j;
l=i&j;
m=k^l;
printf("%d, %d, %d, %d, %d\n", i, j, k, l, m);
return 0;
}
Options:
A .  0, 0, 0, 0, 0
B .  0, 32, 32, 32, 32
C .  32, 32, 32, 32, 0
D .  32, 32, 32, 32, 32
Answer: Option C



Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers