C++ Interview Questions
Questions Answers Views Company eMail

What is Copy Constructor?

ABC, Siemens,

5 18522

What is an abstract class?

Siemens,

5 9854

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

HFG, Siemens,

3 11088

What is a virtual base class?

Fidelity, Siemens,

6 22628

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

HP, Infosys, Thyrocare,

23 65442

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

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

14 104944

What and all can a compiler provides by default?

Accenture, HP,

3 14115

What are the different operators in C++?

HP,

3 13064

What is the difference between method and message?

HP,

5 55646

What is difference between initialization and assignment?

HCL, HP, Infosys,

12 59411

when can we use copy constructor?

HP,

6 15277

Describe functional overloading?

HP,

6 10826

Difference between Overloading and Overriding?

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

35 194462

Difference between Operator overloading and Functional overloading?

HP,

10 50838

What is virtual constructor paradigm?

HCL, HP,

5 13514


Un-Answered Questions { C++ }

What is the use of bit fields in structure declaration?

513


Why namespace is used in c++?

587


What is an undefined reference/unresolved external symbol error and how do I fix it?

576


What is the difference between #import and #include?

529


Explain the use of virtual destructor?

593






Is there a difference between class and struct?

456


Should I learn c or c++ first?

544


What is command line arguments in C++? What are its uses? Where we have to use this?

552


Why do we need oop?

641


Which software is best for programming?

632


What are register variables?

621


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

1759


Do we have to use initialization list in spite of the assignment in constructors?

542


What are the components of stl?

603


When is the copy constructor called?

606