All pastes #383822 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-03-06 17:10 UTC
rendered paste body
#include <iostream.h>

int main()
{ 
    cout << "The Size of an int is:\t\t" <<sizeof(int) <<"bytes.\n";
    cout << "The Size of  short is:\t\t" <<sizeof(short) <<"bytes.\n";
    cout << "The size of a long is:\t\t" <<sizeof(long) <<"bytes.\n";
    cout << "The size of a char is:\t\t" <<sizeof(char) <<"bytes.\n";
    cout << "The size of a double is:\t\t" <<sizeof(double) <<"bytes.\n";
    
    return 0;
}