What is the output? printf("%d", 'A' + 2);
What is the output?
printf("%d", 'A' + 2);
Show answerHide answer
Correct answer: (B) 67
Explanation
'A' = 65; 65 + 2 = 67 printed with %d.
Correct answer: (B) 67
Explanation
'A' = 65; 65 + 2 = 67 printed with %d.
This is question 128 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.