C++ General Interview Questions
Questions Answers Views Company eMail

What you mean by early binding and late binding? How it is related to dynamic binding?

1 868

What is meant by reference variable in C++?

1 829

How to create a reference variable in C++

1 862

What are the difference between reference variables and pointers in C++?

1 833

What will the line of code below print out and why?

510

What is the error in the code below and how should it be corrected?

516

What will i and j equal after the code below is executed? Explain your answer.

1 878

What are the different data types present in C++?

4 1478

What are class and object in C++?

1 928

Compare compile time polymorphism and Runtime polymorphism

1 804

What do you know about friend class and friend function?

1 812

Define inline function

1 845

What is a reference in C++?

1 912

What do you mean by abstraction in C++?

1 837

What do you mean by call by value and call by reference?

4 1252


Post New C++ General Questions

Un-Answered Questions { C++ General }

How would you find out if a linked-list is a cycle or not?

724


What is the use of bit fields in structure declaration?

724


How we can differentiate between a pre and post increment operators during overloading?

820


Why are pointers not used in c++?

810


Why is polymorphism useful?

783


What are the two main components of c++?

807


Explain the difference between struct and class in terms of access modifier.

909


Is java the same as c++?

731


Why struct is used in c++?

800


If I is an integer variable, which is faster ++i or i++?

787


Can we define a constructor as virtual in c++?

802


What is the full form nasa?

757


Can you sort a set c++?

743


What is the use of 'using' declaration in c++?

835


Explain terminate() function?

787