C++ Interview Questions
Questions Answers Views Company eMail

How does free know the size of memory to be deleted

500

What's the value of the expression 5["abxdef"]?

1274

How to delete array of objects in C++? Proof by C++ code for proper deletion

555

How to stop class inheritance in C++ with condition that object creation should be allowed

482

What is Advantage and Use of THIS pointer in C++ – Scenarios?

483

C++ Public access specifier instead of Private – What is bad ?

585

Is there a difference between class and struct?

718

How many times will this loop execute? Explain your answer.

622

How can a C function be called in a C++ program?

489

C++ supports multiple inheritance. What is the “diamond problem” that can occur with multiple inheritance? Give an example.

587

What is a built-in function?

1 896

What is the difference between global int and static int declaration?

631

Difference between const char* p and char const* p?

1 1147

Specify different types of decision control statements?

596

Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL

564


Un-Answered Questions { C++ }

What is do..while loops structure?

827


What do you mean by Encapsulation?

805


Differentiate between C and C++.

904


What is prototype in c++ with example?

741


Prepare me a program for the animation of train

2221


What is the difference between member functions and static member functions?

739


What is token c++?

780


What operators can you overload in c++?

781


What is the iunknown interface?

896


What does override mean in c++?

784


Explain what are single and multiple inheritances in c++?

741


What do you understand by a pure virtual member function?

769


What is abstraction in c++ with example?

792


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

871


Search for: what is pair in c++?

891