C++ Interview Questions
Questions Answers Views Company eMail

What is Copy Constructor?

ABC, Siemens,

5 18495

What is an abstract class?

Siemens,

5 9838

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

HFG, Siemens,

3 11062

What is a virtual base class?

Fidelity, Siemens,

6 22591

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

HP, Infosys, Thyrocare,

23 65363

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

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

14 104873

What and all can a compiler provides by default?

Accenture, HP,

3 14101

What are the different operators in C++?

HP,

3 13058

What is the difference between method and message?

HP,

5 55613

What is difference between initialization and assignment?

HCL, HP, Infosys,

12 59327

when can we use copy constructor?

HP,

6 15254

Describe functional overloading?

HP,

6 10788

Difference between Overloading and Overriding?

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

35 194392

Difference between Operator overloading and Functional overloading?

HP,

10 50802

What is virtual constructor paradigm?

HCL, HP,

5 13482


Un-Answered Questions { C++ }

what is scupper?

1863


What is ios class in c++?

549


What is the difference between strcpy() and strncpy()?

580


How is polymorphism achieved?

559


Is oop better than procedural?

541






What is the difference between a reference and a pointer?

570


Explain the difference between realloc() and free() in c++?

507


What are the advantages of using friend classes?

601


What does the nocreate and noreplace flag ensure when they are used for opening a file?

645


How can you tell what shell you are running on unix system?

615


What is a virtual function in C++?

561


Explain selection sorting?

608


Why is it called c++?

553


Declare a class vehicle and make it an abstract data type.

508


What is scope resolution operator in c++ with example?

531