C examples for limits.h:CHAR_BIT
Macro
Number of bits in a char object (byte). 8 or greater*
#include <iostream> #include <limits.h> using namespace std; int main()/*from w w w.j a va 2 s . c o m*/ { cout << CHAR_BIT; return 0; }