Question
Print the Maximum and Minimum values of Signed Long Long Integer datatype. These values are defined in "limits.h" header files. The value is Stored in the Variable LLONG_MAX and LLONG_MIN
Sample TestCase Expected Output
Minimum Value of Signed Long Long Integer is -9223372036854775808
Maximum Value of Signed Long Long Integer is 922337203685477507
Answer
#include<stdio.h> #include<limits.h> int main() {
long long min,max;
min=LLONG_MIN; max=LLONG_MAX;
printf("Minimum Value of Signed Long Long Integer is %lld\n",min); printf("Maximum Value of Signed Long Long Integer is %lld",max); return 0;
}Note
Check Letter Formats
This comment has been removed by a blog administrator.
ReplyDelete