C++ Interview Questions
Questions Answers Views Company eMail

What is Copy Constructor?

ABC, Siemens,

5 10859

What is an abstract class?

Siemens,

3 5271

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

Siemens, HFG,

2 6670




What is a virtual base class?

Siemens,

6 15923

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

Infosys, HP, Thyrocare,

23 50618

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

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

14 91281

What and all can a compiler provides by default?

Accenture, HP,

3 8918

What are the different operators in C++?

HP,

3 10192

What is the difference between method and message?

HP,

4 33344

What is difference between initialization and assignment?

Infosys, HCL, HP,

12 41452

when can we use copy constructor?

HP,

6 11550

Describe functional overloading?

HP,

6 7056

Difference between Overloading and Overriding?

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

35 173451

Difference between Operator overloading and Functional overloading?

HP,

10 41759

What is virtual constructor paradigm?

HCL, HP,

5 8621







Un-Answered Questions { C++ }

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?

480


c++ program to swap the objects of two different classes

691


What type of question are asked in GE code writing test based on c++ data structures and pointers?

2440


I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?

679


what's the basic's in dot net

798


A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.

681


write string class as your own class in java without using any built-in function

1028


i wanted to know about questions about c,c++ , which is required for placements.... im a fresher

751


how to connect with oracle 9i with server in socket program in c/c++

842


write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

1082


what is the 3 types of system development life cycle

1469


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

1000


sir please send me bpcl previous question papers

1012


Program to check whether a word is a sub-string or not of a string typed

734


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

896