C++ Interview Questions
Questions Answers Views Company eMail

Check for Balanced Parentheses using Stack?

1 836

What is an Object/Instance?

1 854

What do you mean by C++ access specifiers ?

1 845

What are the basics concepts of OOPS?

1 824

What is the use of volatile keyword in c++? Give an example.

1 793

In how many ways we can initialize an int variable in C++?

1 981

What are C++ inline functions?

1 846

What do you mean by internal linking and external linking in c++?

1 1072

How many storage classes are available in C++?

1 960

What is 'Copy Constructor' and when it is called?

1 886

What is realloc() and free()? What is difference between them?

1 828

What is difference between shallow copy and deep copy? Which is default?

1 801

What are virtual functions and what is its use?

1 840

What do you mean by pure virtual functions in C++? Give an example?

1 974

How to create a pure virtual function?

1 1139


Un-Answered Questions { C++ }

What is the use of default constructor?

803


What is meant by const_cast?

864


Why is c++ difficult?

791


Without using third variable write a code to swap two numbers.

746


Why do we use class in oops?

740


Explain how we implement exception handling in c++?

785


Can we overload operator in c++?

766


Define token in c++.

896


What does std :: flush do?

876


What are the various situations where a copy constructor is invoked?

834


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

1885


What is the use of string in c++?

742


Explain how the virtual base class is different from the conventional base classes of the opps.

896


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

6134


What is string in c++ programming?

855