H0 Me Output
1 include
2
3 #define THIS Ox01
4 #define THAT Ox02
5
6 int main() {
unsigned char va = 0x00;
8
va |= THIS;
9
val= THAT;
10
if (va == THIS THAT)
11
printf("%d" X THAT)
12 if (va | THAT > 1)
13
printf("%d", THIS);
14
return 0;
15 ]
Answers
Answered by
8
Answer:
2 1
Explanation:
Answered by
1
The output is "21"
Explanation:
#include<iostream>
#define THIS 0x01
#define THAT 0x02
int main() {
unsigned char va = 0x00;
va |= THIS;
va |= THAT;
if (va == (THIS | THAT))
printf("%d",THAT);
if (va | (THAT > 1))
printf("%d", THIS);
return 0;
}
The output of the above program will be 21
Similar questions