Programming MCQS - QUESTION DETAILS

What is the output of printf("%c", 'A' + 1);?
A. A
B. B
C. 66
D. 67

'A' + 1 results in the ASCII value of 'B'.

Similar Questions

What is the purpose of the 'rand' function in C?






What is the output of printf("%d", 5 << 2);?






How do you declare a pointer in C?






How do you include a header file in C?






Which header file is needed for file input and output operations in C?






What is the output of printf("%d", ~5);?






What is the role of the 'static' keyword in C?






What is the output of printf("%f", 10 / 3);?






How do you declare a two-dimensional array in C?






What is the output of printf("%c", 65);?