C++ Interview Questions
Questions Answers Views Company eMail

What is Copy Constructor?

ABC, Siemens,

5 10052

What is an abstract class?

Siemens,

3 4856

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

Siemens, HFG,

2 6308




What is a virtual base class?

Siemens,

6 14975

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

Infosys, HP, Thyrocare,

23 49538

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

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

14 88625

What and all can a compiler provides by default?

Accenture, HP,

3 8269

What are the different operators in C++?

HP,

3 9961

What is the difference between method and message?

HP,

4 30542

What is difference between initialization and assignment?

Infosys, HCL, HP,

12 39603

when can we use copy constructor?

HP,

6 11338

Describe functional overloading?

HP,

6 6838

Difference between Overloading and Overriding?

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

35 170843

Difference between Operator overloading and Functional overloading?

HP,

10 40590

What is virtual constructor paradigm?

HCL, HP,

5 8230







Un-Answered Questions { C++ }

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

647


what is the drawback of classical methods in oops?

1931


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

761


program for insertion ,deletion,sorting in double link list

1291


What is the renewal class?

1202


write a program that takes input in digits and display the result in words from 1 to 1000

988


give me an example for testing a program showing the test path .show how the test is important and complex.

1508


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

914


what are the iterator and generic algorithms.

651


is there any choice in opting subjects like 4 out of 7

705


How to Increment the value of the empid E001 for each and every employee by using the programe?

770


write a porgram in c++ that reads an integer and print the biggest digit in the number

775


can we make game by using c

1639


what are the different types of qualifier in java?

783


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

467