Listing 6
cout << "\nThe cast operator" << endl; char var = 65; cout << " Display as type char: "<< var << endl; cout << " Display as type short: " << (short)var << endl; Listing 6