Q. What is the output of the following code?
Code:#include <stdio.h>
int main() {
char ch = 'A';
printf("%d", ch);
return 0;
}
β
Correct Answer: (B)
65
Explanation: Character 'A' is represented as ASCII 65.