#include using namespace std; #include int main() { cout << "char is " << sizeof(char) << " bytes long" << endl; cout << "short int is " << sizeof(short) << " bytes long" << endl; cout << "int is " << sizeof(int) << " bytes long" << endl; cout << "long int is " << sizeof(long) << " bytes long" << endl; cout << "wchar_t is " << sizeof(wchar_t) << " bytes long" << endl; cout << endl; cout << endl; int i,j,k; i = 42; j = 0x42; k = 042; cout << "42 is " << i << "; 0x42 is " << j << "; 042 is " << k << endl; cout << endl; cout << endl; cout << "bool is " << sizeof(bool) << " bytes long" << endl; cout << endl; cout << endl; bool isit = true; cout << "boolean value of true " << isit << endl; isit = false; cout << "boolean value of false " << isit << endl; cout << endl; cout << endl; cout << "float is " << sizeof(float) << " bytes long" << endl; cout << "double is " << sizeof(double) << " bytes long" << endl; cout << "long double is " << sizeof(long double) << " bytes long" << endl; cout << endl; cout << endl; int y; y = 64 << 4 << 2; cout << "64 << 4 << 2 is " << y << endl; int z; z = 64 << (4 << 2); cout <<"64 << (4 << 2) is " << z << endl; z = 2; y = z++ << z++ << z++; cout << "z = 2; y = z++ << z++ << z++ is "<< y << " z is " << z << endl; z = 2; y = ++z << ++z << ++z; cout <<"z = 2; y = ++z << ++z << ++z; is " << y << " z is " << z << endl; cout <<"cout <<8 << 2 << endl; prints " << 8 << 2 << endl; i=0; cout <<" cout <