C++ Interview Questions
Questions Answers Views Company eMail

What is Copy Constructor?

ABC, Siemens,

5 18680

What is an abstract class?

Siemens,

5 9975

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

HFG, Siemens,

3 11235

What is a virtual base class?

Fidelity, Siemens,

6 22784

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

HP, Infosys, Thyrocare,

23 65918

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

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

14 105266

What and all can a compiler provides by default?

Accenture, HP,

3 14240

What are the different operators in C++?

HP,

3 13143

What is the difference between method and message?

HP,

5 55870

What is difference between initialization and assignment?

HCL, HP, Infosys,

12 59755

when can we use copy constructor?

HP,

6 15429

Describe functional overloading?

HP,

6 10928

Difference between Overloading and Overriding?

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

35 194979

Difference between Operator overloading and Functional overloading?

HP,

10 51052

What is virtual constructor paradigm?

HCL, HP,

5 13664


Un-Answered Questions { C++ }

What is switch case in c++ syntax?

624


What's the value of the expression 5["abxdef"]?

1042


Explain function overloading and operator overloading.

626


Does c++ vector allocate memory?

534


Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?

633






What is & in c++ function?

597


Why the usage of pointers in C++ is not recommended ?

900


officer say me - i am offered to a smoking , then what can you say

1585


Why do we use encapsulation in oops?

524


What does std :: flush do?

692


What do you mean by translation unit in c++?

676


What is the difference between global variables and static varables?

575


What is encapsulation in simple terms?

541


What does ios :: app do in c++?

556


Which one between if-else and switch is more efficient?

604