16
What will be the output of the program?
#include <stdio.h>
int main(void) {
printf("%d\n", 8 | 3);
return 0;
}DiscussEasy
Loading subject content…
Loading practice questions…
What will be the output of the program?
#include <stdio.h>
int main(void) {
printf("%d\n", 8 | 3);
return 0;
}What will be the output of the program?
#include <stdio.h>
int main(void) {
int x = 12;
x |= 1 << 0;
printf("%d\n", x);
return 0;
}What will be the output of the program?
#include <stdio.h>
int main(void) {
int x = 15;
x &= ~(1 << 2);
printf("%d\n", x);
return 0;
}What will be the output of the program?
#include <stdio.h>
int main(void) {
int x = 5, y = 9;
x ^= y; y ^= x; x ^= y;
printf("%d %d\n", x, y);
return 0;
}What will be the output of the program?
#include <stdio.h>
int main(void) {
printf("%d\n", 100 >> 2);
return 0;
}