// string_constant.cpp // Test program showing string constant vs char constant // 1/23/03, Ray S. Babcock // #include using namespace std; int main(void) { cout << "sizeof(\"a\") = " << sizeof("a") << end; cout << "sizeof('a') = " << sizeof('a') << end; char shirt_size = "S"; cout << shirt_size << endl; }