C/C++ Interview Questions
Please enable JavaScript to view this page content properly.
Can you overload a function with the return type?What is the output of the program below? Why?
Class A{public:void func();};class B:pubic A{void func(int a);};int main(){B derv;derv.func();}
Solution
Why are there no virtual constructors but there are virtual destructors?
Why is an array of reference not possible?
Next Page
Cracking the Coding Interview: Fourth Edition (308 page e-book / PDF)
Delivered instantly as a PDF via email. For Software Engineers & SDETs
· 150 programming interview questions and answers
· 5 proven approaches to crack algorithm questions
· 10 mistakes candidates make, and how to avoid them.
· How to prepare for technical and behavioral questions without wasting your time!