C++ General Interview Questions
Questions Answers Views Company eMail

What are the four partitions in which c++ compiler divides the ram?

1018

Explain binary search.

825

You want to link a c++ program to c functions. How would you do it?

770

Define a nested class. Explain how it can be useful.

877

What are c++ storage classes?

847

Differentiate between late binding and early binding.

1011

Incase of a function declaration, what is extern means?

752

Differentiate between realloc() and free().

816

Explain shallow copy?

834

Explain deep copy and a shallow copy?

838

What is type of 'this' pointer? Explain when it is get created?

817

What are the storage qualifiers?

929

Explain linear search.

861

How should runtime errors be handled in c++?

883

Explain virtual class and friend class.

829


Post New C++ General Questions

Un-Answered Questions { C++ General }

Why do we need pointers?

788


How would you use the functions memcpy(), memset(), memmove()?

900


Tell me can a pure virtual function have an implementation?

812


What is the difference between struct and class?

1109


What is the difference between an enumeration and a set of pre-processor # defines?

1135


Is c++ harder than java?

838


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

889


What is the benefit of learning c++?

763


Describe Trees using C++ with an example.

889


What's the order in which the objects in an array are destructed?

1194


What are the steps in the development cycle?

856


What are the characteristics of friend functions?

797


Are iterators pointers?

936


What is the difference between function overloading and operator overloading?

813


State the difference between pre and post increment/decrement operations.

863