C++ Interview Questions
Questions Answers Views Company eMail

What is the difference between class and structure?

7 9195

What is public, protected, private?

IBS, Satyam,

6 14583

What are virtual functions?

2 4417

What is friend function?

Wipro,

12 21082

What is a scope resolution operator?

HP, IBS,

5 15345

What do you mean by inheritance?

IBS,

1731

What is abstraction?

9 10786

What is polymorphism? Explain with an example.

48 120875

What is encapsulation?

TCS,

17 17460

What do you mean by binding of data and functions?

3 8901

What is function overloading and operator overloading?

4 15160

What is virtual class and friend class?

IBS, Intel, Wipro,

5 33687

What do you mean by inline function?

6 12914

What do you mean by public, private, protected and friendly?

CA,

3 9011

When is an object created and what is its lifetime?

IBM,

4 15674


Un-Answered Questions { C++ }

What do you mean by variable?

545


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1398


How do you clear a set in c++?

580


Is ca high or low level language?

559


What is virtual table?

586






What is the real life example of polymorphism?

584


Is recursion allowed in inline functions?

589


What is object and example?

576


What is function overloading c++?

545


What is scope in c++ with example?

602


How many static variables are created if you put one static member into a template class definition?

542


What is srand c++?

543


How can you overcome the diamond problem in inheritance?

741


What is the best c++ compiler?

576


How do you clear a buffer in c++?

514