C++ Interview Questions
Questions Answers Views Company eMail

What is Copy Constructor?

ABC, Siemens,

5 12222

What is an abstract class?

Siemens,

3 6020

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

Siemens, HFG,

3 7439




What is a virtual base class?

Siemens,

6 17277

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

Infosys, HP, Thyrocare,

23 52249

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

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

14 94064

What and all can a compiler provides by default?

Accenture, HP,

3 9994

What are the different operators in C++?

HP,

3 10637

What is the difference between method and message?

HP,

4 37506

What is difference between initialization and assignment?

Infosys, HCL, HP,

12 44560

when can we use copy constructor?

HP,

6 11995

Describe functional overloading?

HP,

6 7451

Difference between Overloading and Overriding?

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

35 176639

Difference between Operator overloading and Functional overloading?

HP,

10 43102

What is virtual constructor paradigm?

HCL, HP,

5 9350







Un-Answered Questions { C++ }

A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.

1722


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

884


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

998


what's the basic's in dot net

936


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

3509






Write an algorithm that determines whether or not an almost complete binary tree is a heap.

2441


Write a program to reverse a string using recursive function?

1037


#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

1091


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

914


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

142


how to get the oracle certification? send me the answer

818


Get me a number puzzle game-program

868


When we use Abstract Class and when we use Interface?where we will implement in real time?

945


what is the sylabus for priliminaries?

803


write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;

656