Miscellany
public text v1 · immutable#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;
}