C++ Interview Questions
Questions Answers Views Company eMail

What is Copy Constructor?

ABC, Siemens,

5 18607

What is an abstract class?

Siemens,

5 9914

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

HFG, Siemens,

3 11187

What is a virtual base class?

Fidelity, Siemens,

6 22709

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

HP, Infosys, Thyrocare,

23 65723

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

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

14 105130

What and all can a compiler provides by default?

Accenture, HP,

3 14192

What are the different operators in C++?

HP,

3 13109

What is the difference between method and message?

HP,

5 55773

What is difference between initialization and assignment?

HCL, HP, Infosys,

12 59618

when can we use copy constructor?

HP,

6 15362

Describe functional overloading?

HP,

6 10889

Difference between Overloading and Overriding?

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

35 194730

Difference between Operator overloading and Functional overloading?

HP,

10 50956

What is virtual constructor paradigm?

HCL, HP,

5 13601


Un-Answered Questions { C++ }

Which method cannot be overridden?

571


What does the nocreate and noreplace flag ensure when they are used for opening a file?

670


Please explain class & object in c++?

594


How can you specify a class in C++?

791


Is eclipse good for c++?

534






I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

1618


Define a constructor?

583


What are the basics of local (auto) objects?

619


What is c++ iterator?

631


What is the syntax for a for loop?

590


What is virtual function? Explain with an example

581


Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

2565


What is token c++?

568


What is destructor in oop?

615


What is scope in c++ with example?

622