What will be the output of the following C code if the value of UCHAR_MAX is 127?
#include<stdio.h>
#include<limits.h>
int main()
{
int d;
d=CHAR_MAX;
printf("%c",d);
}
#include<stdio.h>
#include<limits.h>
int main()
{
int d;
d=CHAR_MAX;
printf("%c",d);
}A. Error
B. 127
C. Alphabet corresponding to the value 127
D. Junk value
Answer: Option D

Join The Discussion