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 827

What is meant by reference variable in C++?

1 784

How to create a reference variable in C++

1 821

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

1 786

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

483

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

489

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

1 838

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

4 1399

What are class and object in C++?

1 896

Compare compile time polymorphism and Runtime polymorphism

1 749

What do you know about friend class and friend function?

1 769

Define inline function

1 796

What is a reference in C++?

1 886

What do you mean by abstraction in C++?

1 795

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

4 1148


Post New C++ General Questions

Un-Answered Questions { C++ General }

What is a c++ map?

895


What is the difference between equal to (==) and assignment operator (=)?

740


Why we use #include iostream in c++?

735


Differentiate between a constructor and a destructor in c++.

731


Why do we use setw in c++?

818






Array base access faster or pointer base access is faster?

2003


what are the iterator and generic algorithms.

1862


What is the main use of c++?

753


How do I run a program in notepad ++?

760


Is c++ a dying language?

774


Why do we need function?

756


Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

1899


Explain deep copy and a shallow copy?

768


Write a program to find the reverse Fibonacci series starting from N.

773


How long does it take to get good at leetcode?

852