What will be the output of the following C code, given that the maximum value of signed char is 127 and that of unsigned char is 255.
#include<stdio.h>
#include<limits.h>
#define SCHAR_MAX
main()
{
printf("%d",SCHAR_MAX+1);
}
#include<stdio.h>
#include<limits.h>
#define SCHAR_MAX
main()
{
printf("%d",SCHAR_MAX+1);
}A. 256
B. Error
C. 1
D. 128
Answer: Option C

Join The Discussion