2
votes
2answers
1k views

Interview question “What is virtual function”

It was funny for me, and I'm interesting the reaction for this question of the community. It was interview for C++/Qt developer, and question was asked "What is virtual function". Not something like ...
1
vote
2answers
481 views

Without C++-like destructors, how do we return resources that aren't managed by garbage collector in Java? [duplicate]

I'm in a job hunting. And in my CV I placed a skill list like: Skills: C/C++/Java/... The most common question I got is: "hem, since you are familiar with both C++ and Java, can you tell some ...
3
votes
4answers
1k views

What do other languages offer when it comes to infrastructure technology that could indicate its advantage over C in the future?

I have been going through interview questions and I saw one which made me stop and think for a while. It starts with a quote and asks about your interpretation and whether you agree or not. "For ...
2
votes
3answers
1k views

When do you 'speak' C++ fluently? [closed]

I see that many companies require the same skill. This skill is often described as following: "Applicants are required to speak C++ fluently." I never really understand what fluent meant for ...
1
vote
2answers
4k views

Using the STL to solve interview questions? [closed]

If I'm undergoing a technical interview that's based on my C++ skills, would most companies allow or expect me to use STL containers to solve problems? I think it's clear that if a question is ...
5
votes
7answers
2k views

Programming Interview : How to debug a program?

I was recently asked the following question in an interview : How do you debug a C++ program ? I started by explaining that programs may have syntax and semantic errors. Compiler reports the ...
2
votes
6answers
1k views

Learning good OOP design and unlearning some bad habits [duplicate]

Possible Duplicate: What books or resources would you recommend to learn practical OO design and development concepts? I have been mostly a C programmer so far in my career with knowledge ...
2
votes
4answers
536 views

what are some good interview questions for a position that consists of reviewing code for security vulnerabilities?

The position is an entry-level position that consists of reading C++ code and identifying lines of code that are vulnerable to buffer overflows, out-of-bounds reads, uncontrolled format strings, and a ...
8
votes
6answers
1k views

Is it OK to mix C and C++ in an interview?

If I am asked in an interview to write down some code, should I completely stick with C++ or is it acceptable to "mix" the two to write easy code as it comes to my mind? I'll explain it: if I'm asked ...
1
vote
1answer
1k views

Missed question in technical phone interview and the follow up letter [closed]

I may have just bombed a C++ technical phone interview. The interviewer asked mostly about data structures and I was able to go into detail about each of the data structures he asked about. Score one ...
10
votes
3answers
951 views

How to handle interview questions on programming style

As a C++-programmer in interviews I repeatedly found myself in situations were the interviewer wanted to probe my knowledge of good programming style. These typically were centered around basic ...
1
vote
4answers
492 views

How should I deal with nested compositions?

I came across the following question on a website for interviews: Here are 3 products: table, chair and bench. Product can be of material: wood, metal, and plastic. Design class structures for ...
2
votes
3answers
1k views

interview for an internship but I think I may be unprepared

I have an interview for a C++ internship position. Now, the thing is I've taken two out of three quarters of the basic CS classes (in C++) at my community college and we covered the basics up to ...
10
votes
8answers
2k views

What should I expect from a technical evaluation for C++? [closed]

I have been asked to go for a technical test/evaluation for a job as a junior developer, mainly using C++. This is my first test/evaluation, and it is 2 hours long. My C++ is a bit rusty as I have ...
11
votes
6answers
3k views

Is “Explain the RAII idiom” a good C++ screening question? [closed]

A company that I work with has asked me to do candidate phone screenings to make sure they aren't completely embarrassed when sending over someone to a potential client. It turns out that a fair ...
1
vote
8answers
2k views

Should I choose C or C++ for an interview?

I know a bit of both C and C++. I am assuming that many people who know C++ also know C. I am wondering what language I should pick to code in during an interview. C, because it's faster to make a ...
11
votes
10answers
2k views

Why is no C++ interview complete if it does not have vtable questions?

Frankly, I don't understand the practical importance of vtable. For me it is just a theoretical concept which needs to be mugged up since interviewer will ask it surely. Can anyone shed some light on ...
33
votes
7answers
2k views

C++ Interview question

This problem was given to me on previous job interview test. It is over now, but I would like to go through my mistakes and hopefully be more prepared next time! // Identify as many bugs and ...
44
votes
16answers
15k views

Extremely trivial C++ phone interview question [closed]

My company is currently interviewing for a developer position, and a disturbingly high number of candidates with good resumes end up being total frauds. We do have a written technical test which works ...
1
vote
3answers
344 views

CRM in the context of C++ programming

I was asked by an employer about CRM in the context of C++ software development. The position I was applying for was C++ Software Engineer. I told them: As far as I know, CRM is an acronym that ...
6
votes
9answers
1k views

What should a C++ developer expect on an interview at a Rails company? [closed]

I have been working on C++ backend large scale apps for over 5 years. I'm doing TDD, using STL and Boost etc. I decided I need a change and about year ago started learning Ruby, and few months ago I ...
45
votes
11answers
3k views

What can I do when the interviewer doesn't know the answer to his/her own question? [closed]

Yesterday I had a terrible experience in an interview. Interviewer asked me about pure virtual function. I said, It may or may not have definition in base class, but derived classes should provide ...