C++ Interview Questions
Questions Answers Views Company eMail

What is Copy Constructor?

ABC, Siemens,

5 18600

What is an abstract class?

Siemens,

5 9912

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

HFG, Siemens,

3 11181

What is a virtual base class?

Fidelity, Siemens,

6 22708

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

HP, Infosys, Thyrocare,

23 65716

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

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

14 105127

What and all can a compiler provides by default?

Accenture, HP,

3 14190

What are the different operators in C++?

HP,

3 13106

What is the difference between method and message?

HP,

5 55767

What is difference between initialization and assignment?

HCL, HP, Infosys,

12 59610

when can we use copy constructor?

HP,

6 15356

Describe functional overloading?

HP,

6 10885

Difference between Overloading and Overriding?

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

35 194715

Difference between Operator overloading and Functional overloading?

HP,

10 50951

What is virtual constructor paradigm?

HCL, HP,

5 13596


Un-Answered Questions { C++ }

What new()is different from malloc()?

563


Why is null pointer used?

672


What is the insertion operator and what does it do?

561


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

547


What do you mean by persistent and non persistent objects?

726






how to connect with oracle 9i with server in socket program in c/c++

1843


Define a nested class.

606


What does I ++ mean in c++?

575


How new/delete differs from malloc()/free?

603


What is a loop? What are different types of loops in c++?

586


Can we distribute function templates and class templates in object libraries?

583


What is a memory leak in C++?

563


What are the storage qualifiers?

658


Where Malloc(), Calloc(), and realloc() does get memory?

600


Write a program that can take input from 3 to 8 and calculate the average?

547