Question
Print the Maximum and Minimum values of Unsigned Long Long Integer datatype. These values are defined in "limits.h" header files. The value is Stored in the Variable ULLONG_MAX.
Sample TestCase Expected Output
Minimum Value of Unsigned Long Long Integer is 0
Maximum Value of Unsigned Long Long Integer is 18446744073709551615
Answer
#include<stdio.h> #include<limits.h> int main() {
unsigned long long umin,umax;
umin=0; umax=ULLONG_MAX;
printf("Minimum Value of Unsigned Long Long Integer is %llu\n",umin); printf("Maximum Value of Unsigned Long Long Integer is %llu",umax); return 0;
}Note
Check Letter Formats
No comments:
Post a Comment