?
What will be the output of the following C code?
What will be the output of the following C code?
Maximum value of int = 1000
Maximum value of float = 5000
Maximum value of short int = 327
Minimum value of short int = -328
#include<stdio.h>
#include<limits.h>
#include<float.h>
main()
{
short int d;
d=INT_MAX + FLT_MAX;
printf("%d",d);
}
Maximum value of int = 1000
Maximum value of float = 5000
Maximum value of short int = 327
Minimum value of short int = -328
#include<stdio.h>
#include<limits.h>
#include<float.h>
main()
{
short int d;
d=INT_MAX + FLT_MAX;
printf("%d",d);
}
Join the Discussion
Login to post a comment or share your explanation.
Login