I’ve stumbled upon some interesting C knowledge quizzes. They deal with subset of C that is almost completely compatible with C++ (except for headers), so they’re also valid for that language. There is no doubt that a major part of these questions is just bad programming, even if correct from the standard’s point of view, but I still felt good about myself after getting full scores without cheating.
I think I should mention that for the second link, it is wise to assume that sizeof(int) == 4
Without further ado, here are the links:
First link, Second link
Dyszka dla Ciebie, liczę na rewanż.
Wisisz mi więcej m8 :)