C++ Interview Questions
Questions Answers Views Company eMail

What is Copy Constructor?

ABC, Siemens,

5 12619

What is an abstract class?

Siemens,

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?

Siemens,

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++?

HP,

3 10799

What is the difference between method and message?

HP,

4 38976

What is difference between initialization and assignment?

Infosys, HCL, HP,

12 45500

when can we use copy constructor?

HP,

6 12130

Describe functional overloading?

HP,

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?

HP,

10 43497

What is virtual constructor paradigm?

HCL, HP,

5 9606







Un-Answered Questions { C++ }

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

2590


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

1515


how to access grid view row?

1130


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

966


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

719






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?

1021


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

1296


How to use CMutex, CSemaphore in VC++ MFC

3405


what are the iterator and generic algorithms.

786


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

875


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

863


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?

949


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?

627


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.

994


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

1092