All pastes #382213 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-05 12:24 UTC
rendered paste body
#include <iostream>
using namespace std;


int main ()

{

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



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

return 0 ;

}