C++ Interview Questions
Questions Answers Views Company eMail

when can we use virtual destructor?

HCL, HP, Virage Logic,

7 24377

What is the difference between Class and Structure?

HP, IBM, Samsung, TCS,

40 217220

What is size of null class?

HP,

6 15662

Is structure can be inherited?

HP, ST Micro,

5 15757

How the V-Table mechanism works?

HP,

6 21265

What is the STL?

Epson, HP,

2 8202

what is a template?

Amazon, BITS, IBS, Wipro,

2 7565

what is an algorithm in terms of STL?

Lucent, Wipro,

1 7472

What is the difference between public, private, protected inheritance?

Wipro,

12 58015

What is Virtual Inheritance?

Amazon, Wipro,

7 14639

What is the difference between operator new and the new operator?

Amazon, TCS, Wipro,

3 11316

What happens if an exception is throws from an, object's constructor and object's destructor?

Wipro,

4 15499

What is the difference between Pointer and a Reference? When you would use them?

Wipro,

4 11668

What are the differences between a struct in C and in C++?

Amazon, Wipro,

8 15850

What are the differences between a struct and a class in C++?

Amazon, Wipro,

7 11343


Un-Answered Questions { C++ }

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

529


What is a c++ map?

653


Please explain the reference variable in c++?

611


What is the main purpose of inheritance law?

659


What is polymorphism give a real life example?

548






Why do we use structure in c++?

564


What c++ library is string in?

564


Is there a difference between class and struct?

470


What programming language should I learn first?

581


Do you know the problem with overriding functions?

563


Can we use this pointer in a class specific, operator-overloading function for new operator?

607


What is the difference between delegation and implemented-in-terms-of?

515


What are the features of oop?

624


Does c++ have finally?

561


Which is not an object oriented programming language?

530