What will be the output of the following C code if the value of UCHAR_MAX is 127?
Posted: Wed Jul 13, 2022 7:56 pm
#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
#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