C++ General Interview Questions
Questions Answers Views Company eMail

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

53

Explain binary search.

45

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

50




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

56

What are c++ storage classes?

50

Differentiate between late binding and early binding.

52

Incase of a function declaration, what is extern means?

52

Differentiate between realloc() and free().

49




Explain shallow copy?

47

Explain deep copy and a shallow copy?

48

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

47

What are the storage qualifiers?

51

Explain linear search.

48

How should runtime errors be handled in c++?

43

Explain virtual class and friend class.

46


Post New C++ General Questions






Un-Answered Questions { C++ General }

How to give an alternate name to a namespace?

45


what is C++ exceptional handling?

61


What are shallow and deep copy?

44


What new()is different from malloc()?

44


What is the difference between prefix and postfix versions of operator++()?

63






Explain static and dynamic memory allocation with an example each.

42


What is the full form of stl in c++?

34


Should you pass exceptions by value or by reference?

61


What is an inclusion guard?

53


How do you show the declaration of a virtual constructor?

50


Implement stack operations with pointers with appropriate exception checks.

67


How does atoi function work?

33


If dog is a friend of boy and boy is a friend of house, is dog a friend of house?

46


Will c++ be replaced?

27


What are the 4 types of library?

28