All pastes #382219 Raw Edit

Something

public text v1 · immutable
·published 2007-03-05 12:33 UTC
rendered paste body
int main ()

{

// char a ; short int b ; long int c ; float d ; double e ;  bool f ; long double g ; wchar_t h ;



        cout << "size of char is "          << sizeof (char)        << '\n';
        cout << "size of short int is "     << sizeof (short int)   << '\n';
        cout << "size of long int is "      << sizeof (long int)    << '\n';
        cout << "size of float is "         << sizeof (float)       << endl;
        cout << "size of double is "        << sizeof (double)      << endl;
        cout << "size of bool is "          << sizeof (bool)        << endl;
        cout << "size of long double is "   << sizeof (long double) << endl;
        cout << "size of wchar_t is "       << sizeof (wchar_t)     << endl;

return 0 ;

}