in Programming in C recategorized by
239 views
0 votes
0 votes
How to find a range of float,double,long in c programming? just like we find the range in case of int (signed,unsigned),char (signed ,unsigned) in c programming language ?

like integer unsigned range is 0 to 65535 and so on for other data types ?

Thank you ahead
in Programming in C recategorized by
239 views

1 Answer

0 votes
0 votes
We can use <limits.h> header files to get range of different data types. It contains constants in which range is defined for defined for different data type. e.g. INT_MAX,INT_MIN,CHAR_MAX,CHAR_MIN .

Related questions