C++ Interview Questions
Questions Answers Views Company eMail

What is Copy Constructor?

ABC, Siemens,

5 19772

What is an abstract class?

Siemens,

5 10774

What is the difference between creating an object, using 'new' and using 'malloc'?

HFG, Siemens,

3 12033

What is a virtual base class?

Fidelity, Siemens,

6 23713

What is OOPS and How it is different from Procedural Programming ?

HP, Infosys, Thyrocare,

23 69341

Difference between Top down and bottom up approaches for a given project ?

BSNL, CSC, HCL, HP, IIT, Infosys, Siemens,

14 107331

What and all can a compiler provides by default?

Accenture, HP,

3 14967

What are the different operators in C++?

HP,

3 13655

What is the difference between method and message?

HP,

5 57227

What is difference between initialization and assignment?

HCL, HP, Infosys,

12 62032

when can we use copy constructor?

HP,

6 16313

Describe functional overloading?

HP,

6 11725

Difference between Overloading and Overriding?

Appnetix Techno, GameLoft, HP, IBM, NIIT, Rohde and Schwarz,

35 198785

Difference between Operator overloading and Functional overloading?

HP,

10 52354

What is virtual constructor paradigm?

HCL, HP,

5 14543


Un-Answered Questions { C++ }

What is difference between multiple inheritance and multilevel inheritance?

837


Is c++ used anymore?

818


Mention the purpose of istream class?

804


What is endl c++?

822


What are the two types of polymorphism?

768






How the programmer of a class should decide whether to declare member function or a friend function?

855


Why do we use constructor?

804


How can a C function be called in a C++ program?

459


Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes

818


Difference between overloading vs. Overriding

792


Describe these concepts: Polymorphism, Inheritance and Abstraction.

820


What does scope resolution operator do?

785


What are the operators in c++?

840


Why we use #include iostream in c++?

752


Why is the function main() special?

834