C++ Interview Questions
Questions Answers Views Company eMail

What is Copy Constructor?

ABC, Siemens,

5 14286

What is an abstract class?

Siemens,

4 7298

What is the difference between creating an object, using 'new' and using 'malloc'?

Siemens, HFG,

3 8796

What is a virtual base class?

Siemens, Fidelity,

6 19096

What is OOPS and How it is different from Procedural Programming ?

Infosys, HP, Thyrocare,

23 56002

Difference between Top down and bottom up approaches for a given project ?

Siemens, Infosys, HCL, CSC, HP, IIT, BSNL,

14 98111

What and all can a compiler provides by default?

Accenture, HP,

3 11614

What are the different operators in C++?

HP,

3 11463

What is the difference between method and message?

HP,

5 43785

What is difference between initialization and assignment?

Infosys, HCL, HP,

12 49830

when can we use copy constructor?

HP,

6 12903

Describe functional overloading?

HP,

6 8306

Difference between Overloading and Overriding?

IBM, NIIT, GameLoft, HP, Appnetix Techno, Rohde and Schwarz,

35 182875

Difference between Operator overloading and Functional overloading?

HP,

10 46120

What is virtual constructor paradigm?

HCL, HP,

5 10825







Un-Answered Questions { C++ }

What is abstraction and encapsulation?

62


We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?

100


What is purpose of inheritance?

84


what are the ways in which a constructors can be called?

1065


Why is null pointer used?

74






What are the implicit member functions of class?

95


please visit this site you'll find my question this is my homework please answer it if you can http://easyscience.org/ib/lofiversion/index.php/t36168.html

1248


what is pre-processor in C++?

130


Explain the advantages of inheritance.

138


How would perform Pattern Matching in C++?

129


What is a flag in c++?

79


Explain how to initialize a const member data.

100


Why do we use setw in c++?

74


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

1130


What is a constructor in c++ with example?

74