#include using namespace std; main() { int i; char c; char *ptr; ptr = &c; cout << "size of int = " << sizeof(int) << endl; cout << "size of int variable = " << sizeof(i) << endl; cout << "size of char = " << sizeof(char) << endl; cout << "size of char variable = " << sizeof(c) << endl; cout << "size of char * = " << sizeof(char*) << endl; cout << "size of char* variable = " << sizeof(ptr) << endl; }