Sail E0 Webinar
Question


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);
return 0;
}
Options:
A .  12, 12, 12
B .  112, 1, 12
C .  32, 1, 12
D .  -64, 1, 12
Answer: Option A

No answer description available for this question. 



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers