C++ Interview Questions
Questions Answers Views Company eMail

What is Copy Constructor?

ABC, Siemens,

5 12627

What is an abstract class?

Siemens,

4 6316

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

Siemens, HFG,

3 7669




What is a virtual base class?

Siemens,

6 17562

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

Infosys, HP, Thyrocare,

23 52876

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

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

14 94781

What and all can a compiler provides by default?

Accenture, HP,

3 10356

What are the different operators in C++?

HP,

3 10801

What is the difference between method and message?

HP,

4 38983

What is difference between initialization and assignment?

Infosys, HCL, HP,

12 45518

when can we use copy constructor?

HP,

6 12132

Describe functional overloading?

HP,

6 7615

Difference between Overloading and Overriding?

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

35 177564

Difference between Operator overloading and Functional overloading?

HP,

10 43507

What is virtual constructor paradigm?

HCL, HP,

5 9613







Un-Answered Questions { C++ }

There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.

1781


Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened

241


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create

1268


Advantage and disadvantage of routing in telecom sector

96


what is c++

1015






write a program to convert a decimal number in to its equivalent binary number?

1268


write a program that reads in a file and counts the number of lines, words, and characters. Your program should ask the user to input a filename. Open the file and report an error if the file does not exist or cannot be opened for some other reason. Then read in the contents of the file and count the number of lines, words, and characters in the file. Also print additional information about the file, such as the longest and shortest words, and longest and shortest lines. For simplicity, we define a word to be one or more characters ending with white space (a space, tab, carriage return, etc.). Functions for checking the types of characters can be found in the ctype.h header file, so you want to include this header file in your program. For example, the sentence below could be all that is in a file. This sentence IT 104 is taught in C++. has 32 characters, one line, and six words. The shortest line is 32 characters. The longest line is 32 characters. The shortest word is 2 characters. The longest word is 6 characters

4061


program for insertion ,deletion,sorting in double link list

1554


To modify an, existing worksheet. What steps are involved for: 1. Inserting and deleting rows and columns. 2. Printing cell formulas 3Jld displayed values 3. Using the page setup command

942


Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.

1009


what Is DCS ? what i will get benefit when i did?

1086


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

1257


what is scupper?

1070


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).

925


how to making game in c++ ?

1267