?
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.
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);
}
Join the Discussion
Login to post a comment or share your explanation.
Login