Skip to content


Funny C++ Job Interview

Some time ago I had an interview to a new work (truly said it was one of many such interviews, as usual). The company looked quite nice, the work was   going to be very very interesting, writing some C++ software, so I applied. Because of my problems with traveling for the interview, the interview was made by phone only. It started normally with “hi, hello, my name is”. Checking my English knowledge was done in a quite normal way, later the talk turned into answering some questions about C++.

The Beginning

After a couple of them I realised that I’m talking to some recruiter that doesn’t know C++ and only has some questions and answers on paper but (un)fortunately… later turned out that I was wrong.

Let’s back to those questions: quite normal like:

  • How do we declare a class.
  • How we declare a virtual function and what that means.

But I don’t want to write about a normal interview, it would be boring. I want to write about something more interesting. Below are the greatest questions.

More Questions (~)

The first (the easy one)

- What access modifier would you use for a class member

Well… I must say that I was amazed by the question and said the first thing that came to my mind:

- The appropriate one, the one that is needed, my master.

And… I was totally wrong. The correct answer was:

- The best is the private one, you fool.

The second (the strange one)

- What kind of inheritance do you know in C++.

It was too easy… so I answered:

- Private, public, protected and virtual.

He started to laugh – Virtual… where did you take that from?

Well – I said calmly, because I knew that I was talking to someone not technical, he was only interviewing people and had answers on the paper and I gave one answer that wasn’t there – well… the virtual inheritance is that… – and I was describing that for about five minutes.

Yea, and he was listening.

After that he told that well… maybe I’m right, he read some time ago a book about C++ and there really was something like this there. But he didn’t remember that correctly. (Yes, he stopped laughing).

At the end he told me that I want to earn too much, but that’s not so important.

The Ending

One small remark: later turned on that it wasn’t a normal just-recruiter, he was a programmer that was going to be my boss. How nice. I knew that I don’t want to work there. Maybe that’s strange but I really want to have a boss that:

  • is a programmer that knows more than me
  • or is a programmer that knows that there are some things that he (or she) does not know (and is not laughing when someone turns out to be wiser)
  • or just let me to be such a boss and teach others

Related posts:

  1. PostgreSQL FOUND Problem FOUND is a global variable that exists in the plpgsql...

Posted in software.

Tagged with , , .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.



Better Tag Cloud