C++ Interview Questions
Questions Answers Views Company eMail

What is Copy Constructor?

ABC, Siemens,

5 12619

What is an abstract class?


4 6310

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

Siemens, HFG,

3 7665

What is a virtual base class?


6 17555

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

Infosys, HP, Thyrocare,

23 52853

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

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

14 94760

What and all can a compiler provides by default?

Accenture, HP,

3 10349

What are the different operators in C++?


3 10799

What is the difference between method and message?


4 38976

What is difference between initialization and assignment?

Infosys, HCL, HP,

12 45500

when can we use copy constructor?


6 12130

Describe functional overloading?


6 7611

Difference between Overloading and Overriding?

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

35 177530

Difference between Operator overloading and Functional overloading?


10 43497

What is virtual constructor paradigm?


5 9606

Un-Answered Questions { C++ }

Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..


i got a backdoor offer in process global,Bangalore..Can i work with it?


how to access grid view row?


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction


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


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?


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.


How to use CMutex, CSemaphore in VC++ MFC


what are the iterator and generic algorithms.


Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.


What is debug class?what is trace class? What differences are between them? With examples.


what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?


They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.


write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)