What is the output?
#include <stdio.h>
void main(){
char M = 'M';
printf("%d, %c", M, M);
}'M' has an ASCII value of 77.
So printing with %d shows 77, and %c shows M.
$$ \text{Output: } 77,\ M $$
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.