What is printed by the following ANSI C program?
ASCII encoding for relevant characters is given below:

c
- Az K S
- B122 75 83
- C* - +
- DP x +
Programming in CData Types, Syntax, Control Structures, LoopsMCQ2 marks · −2/3 if wrongMedium
1#include <stdio.h>
2int main(int argc, char *argv[ ]) {
3 char a = 'P';
4 char b = 'x';
5 char c = (a & b) + '*';
6 char d = (a | b) - '-';
7 char e = (a ^ b) + '+';
8 printf("%c %c %c\n", c, d, e);
9 return 0;
10}
11A GATE question every morning
One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.