C++ General Interview Questions
Questions Answers Views Company eMail

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

Wipro,

12 58016

What is Virtual Inheritance?

Amazon, Wipro,

7 14641

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

Amazon, TCS, Wipro,

3 11317

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 11669

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 11344

What are the differences between public, private, and protected access?

IBM, Oracle, Wipro,

12 71324

What is the difference between a copy constructor and an overloaded assignment operator?

Belzabar, Citrix, Microsoft, Wipro,

4 22461

How do you link a C++ program to C functions?

4 15757

Can inline functions have a recursion? Give the reason?

3 8112

How Virtual functions call up is maintained?

2 9222

What is problem with Runtime type identification?

2 8334

What about Virtual Destructor?

Virtusa,

1 6059

What are advantages of C++ when comparing with C?

HP, iGate, TCS,

18 26873


Post New C++ General Questions

Un-Answered Questions { C++ General }

What is :: operator in c++?

569


Why do we use constructor?

586


How do you generate a random number in c++?

597


Which of the following is evaluated first: a) && b) || c) !

1793


Write about the role of c++ in the tradeoff of safety vs. Usability?

584






What is a forward referencing and when should it be used?

571


Explain terminate() and unexpected() function?

620


What do you mean by function overriding & function overloading in c++?

596


Can you please explain the difference between using macro and inline functions?

515


Why Pointers are not used in C++?

614


What are c++ tokens?

582


What is a list c++?

564


What are the characteristics of friend functions?

557


What is the difference between prefix and postfix versions of operator++()?

587


What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?

599