C Programming - Bitwise Operators - Discussion
Discussion Forum : Bitwise Operators - Find Output of Program (Q.No. 12)
12.
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;
}
Discussion:
25 comments Page 3 of 3.
Hayyan said:
8 years ago
| what is this symbol means?
Raj said:
1 decade ago
This explanation is good
Imran said:
1 decade ago
I am not understanding
Sana said:
1 decade ago
51 59 110 is correct.
Santhu said:
1 decade ago
Vennila is correct.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers