Question 26
Answer saved
Marked out of 1.00
What wil be the output of the following program?
1 #include<stdio.h>
2 #include<string.h>
3 #include<ctype.h>
4 int main()
5日{
6
7
8
9
char ch1, ch2;
int diff;
ch1='D';
ch2='A';
10
diff=ch1-ch2;
11
printf("%c%c%d", ch1, ch2, diff);return 0;
}
12
13
O a. A1D
b. DA3
Oc. AD3
O d. DA1
Clear my choice