What is the output? char c = 'a';
What is the output?
char c = 'a';
c = c - 32;
printf("%c", c);
Show answerHide answer
Correct answer: (A) A
Explanation
'a' (97) − 32 = 65 = 'A'.
Correct answer: (A) A
Explanation
'a' (97) − 32 = 65 = 'A'.
This is question 130 of DSSSB TGT Computer Science Full Mock Test 5. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.