The following prints out "One": #includeReference: "C++ Gotchas" by Stephen C. Dewhurst. Addison-Wesley, 2002., p. 18.int main() { switch (1) { if (0) { case 1: cout << "One" << endl; } } }
Subscribe to:
Post Comments (Atom)
The following prints out "One": #includeReference: "C++ Gotchas" by Stephen C. Dewhurst. Addison-Wesley, 2002., p. 18.int main() { switch (1) { if (0) { case 1: cout << "One" << endl; } } }
No comments:
Post a Comment