C/C++ interview classics