Monday, February 9, 2009

What is sizeof('A') ?

The same as sizeof(int). Character constants have type int in C. (This is one area in which C++ differs.)

No comments: