What The ... ?
Question #24 in the otherwise quite reasonable C/C++ programming quiz at Cprogramming.com is as follows:
C is to C++ as 1 is to
a) What the heck? b) 2 c) 10
I think I have a new favourite interview question.
Anyway, have a guess what they give as an answer.
That’s right, b).
Apparently they think C is almost a strict subset of C++, in exactly the same way that 1 is almost a strict subset of 2.
7 Comments