Program to know the range of short unsigned integer
/* Program to know the range of short unsigned integer*/
#include <stdio.h>
#include <limits.h>
int main() {
short int var1 = 0;
short int var2 = USHRT_MAX;
printf("range of short unsigned integer is from %u to %u",var1,var2);
return 0;
}
#include <stdio.h>
#include <limits.h>
int main() {
short int var1 = 0;
short int var2 = USHRT_MAX;
printf("range of short unsigned integer is from %u to %u",var1,var2);
return 0;
}
Comments
Post a Comment