All pastes #382202 Raw Edit

Unnamed

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


int main ()

{




a = sizeof (char);
b = sizeof (short int);
c = sizeof (long int);
d = sizeof (float);
e = sizeof (double);
f = sizeof (bool);
g = sizeof (long double);
h = sizeof (wchar_t)

h = sizeof (wchar_t)

        cout << a << '\n';
        cout << b << '\n';
        cout << c << '\n';
        cout << d << endl;
        cout << e << endl;
        cout << f << endl ;
        cout << g << endl ;
        cout << h << endl ;

return 0 ;

}

"sizeof.cpp" 34L, 419C