C++ Interview Questions
Questions Answers Views Company eMail

What is Copy Constructor?

ABC, Siemens,

5 13912

What is an abstract class?

Siemens,

4 7076

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

Siemens, HFG,

3 8580




What is a virtual base class?

Siemens, Fidelity,

6 18750

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

Infosys, HP, Thyrocare,

23 55202

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

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

14 97319

What and all can a compiler provides by default?

Accenture, HP,

3 11385

What are the different operators in C++?

HP,

3 11286

What is the difference between method and message?

HP,

5 42677

What is difference between initialization and assignment?

Infosys, HCL, HP,

12 48922

when can we use copy constructor?

HP,

6 12688

Describe functional overloading?

HP,

6 8109

Difference between Overloading and Overriding?

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

35 181421

Difference between Operator overloading and Functional overloading?

HP,

10 45650

What is virtual constructor paradigm?

HCL, HP,

5 10504







Un-Answered Questions { C++ }

Why is c++ considered difficult?

28


What is the purpose of polymorphism?

29


What is pointer to member?

48


Can non-public members of another instance of the class be retrieved by the method of the same class?

61


What are the classes in c++?

30






Who calls main function?

29


Does c++ have arraylist?

27


Is there structure in c++?

32


What are the vectors in c++?

49


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create

1476


What is balance factor?

30


Explain how to initialize a const data member.

51


Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..

2820


draw a flowchart that accepts two numbers and checks if the first is divisible by the second.

1842


what is the drawback of classical methods in oops?

2353