Posts

Showing posts from November, 2022

"climits" Header file in c++ programming language | Razsoft Education

 <climits> header file climits is a header file borrowed from c programing language limit.h header file. The header file is used to know the maximum and minimum value an integer data type can hold. The header file is implemented in C++ in standard namespace.  Here is the explanation of Macros used in climits header file char type :     CHAR_BIT - The macro represent number of bit in a  character.     CHAR_MIN -  For the minimum value a char can hold.      CHAR_MAX -  For the maximum value a char can hold.        CHAR_MIN -  For the minimum value a char can hold.     S CHAR_MIN -  For the minimum value a signed char can hold.     S CHAR_MAX -  For the maximum value a char can hold.     UCHAR_MAX - For the minimum value of unsigned char. short type :     SHRT_MIN - For the minimum value a short can hold.      SHRT_MAX - For the maximum value a short integer can hold.     U SHRT_MIN - For the maximum value a unsigned short integer can hold. int type :     INT _MIN - For the minimum

Integer data type in C++ programming language | Razsoft education

 Integer data type in C++ Integers are numbers with no fractional part. In C++ we represent integers in various type according to how big value they can store or what type of integer value they can store. All integer types has signed and unsigned type in C++. Signed type integer can store both positive and negative integer values. Unsigned type integer can store only positive values.