+ 1

What does CHAR_MIN mean in C++

#include <iostream> using namespace std; int main() { cout << CHAR_MIN; } output: -128 what does this -128 mean?

26th Aug 2021, 2:31 PM
Sainath Dora
3 Answers
0
CHAR_MIN is Minimum value for an object of type char Value of CHAR_MIN is either -127 (-2^7+1) or less* or 0 https://www.geeksforgeeks.org/climits-limits-h-cc/
26th Aug 2021, 2:34 PM
Obloev Komronbek
Obloev Komronbek - avatar
0
"Minimum value for an object" Of what exactly? Like does it mean "space occupied" Or what I'm unable to interpret this, I looked everywhere but they were giving the same definitions
26th Aug 2021, 3:39 PM
Sainath Dora