DEV Community

Cover image for C++ Interview Questions
bestinterviewquestion
bestinterviewquestion

Posted on

C++ Interview Questions

What is c++ & why it is used?
What is the latest version on C++?
Explain the difference between C & C++?
What are the advantages of C++? Explain
Why is C++ called OOPs? Explain
What is oops and list its features in C++?
Please explain Class & Object in C++?
What is polymorphism & list its types in C++?
What is namespace & why it is used in C++?
What is a Loop? What are different types of loops in C++?
Please explain the reference variable in C++?
What are member functions used in C++?
What do you mean by public protected and private in C++?
What do you mean by β€œthis” pointer?
Explain the difference between class and struct in C++?
What do you mean by volatile and mutable keywords used in C++?
What is a storage class used in C++?
What do you mean by inline function in C++?
What do you mean by overhead in C++?
Explain the difference between realloc() and free() in C++?
What do you mean by inheritance in C++? Explain its types.
What is constructor and destructor in C++?
Explain the difference between new() and malloc() in C++?
What do you mean by friend class & friend function in C++?
What do you mean by function overriding & function overloading in C++?
What is copy constructor? Can we make copy constructor private in C++?
Explain the difference between Abstract class and Interface in C++?
What do you mean by Vtable and VPTR in C++?

Top comments (1)

Collapse
 
letsjuscode profile image
Kamal Sharma

Hey, this is informative and covers almost all the important aspects. Well, there are few more questions that I found on InterviewBit like:

1 - What are the different data types present in C++?
2 - Is destructor overloading possible?
3 - What do you mean by call by value and call by reference?
4 - What is the difference between shallow copy and deep copy?
5 - Difference between virtual functions and pure virtual functions?