#include using namespace std; int main() { char c =42; signed char sc =42; unsigned char usc =42; short int si=42; unsigned short int usi=42; int i=42; unsigned int ui=42; long int li=42; unsigned long int uli=42; long long int lli=42; unsigned long long int ulli=42; cout << " char " << c << " " << sizeof(c) << endl; cout << " signed char " << sc << " " << sizeof(sc) << endl; cout << " unsigned char " << usc << " " << sizeof(usc) << endl; cout << " short int " << si << " " << sizeof(si) << endl; cout << " unsigned short int " << usi << " " << sizeof(usi) << endl; cout << " int " << i << " " << sizeof(i) << endl; cout << " unsigned int " << ui << " " << sizeof(ui) << endl; cout << " long int " << li << " " << sizeof(li) << endl; cout << " unsigned long int " << uli << " " << sizeof(uli) << endl; cout << " long long int " << lli << " " << sizeof(lli) << endl; cout << " unsigned long long int " << ulli << " " << sizeof(ulli) << endl; return(0); }