C++ General Interview Questions
Questions Answers Views Company eMail

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

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

14 91666

What and all can a compiler provides by default?

Accenture, HP,

3 9031

What are the different operators in C++?


3 10232

What is the difference between method and message?


4 33987

What is difference between initialization and assignment?

Infosys, HCL, HP,

12 41842

when can we use copy constructor?


6 11595

Describe functional overloading?


6 7088

Difference between Overloading and Overriding?

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

35 173812

Difference between Operator overloading and Functional overloading?


10 41912

What is virtual constructor paradigm?


5 8674

when can we use virtual destructor?

HP, HCL, Virage Logic,

7 19319

What is the difference between Class and Structure?

IBM, TCS, HP, Samsung,

40 192978

What is size of null class?


5 11529

Is structure can be inherited?

HP, ST Micro,

5 12162

How the V-Table mechanism works?


6 17783

Post New C++ General Questions

Un-Answered Questions { C++ General }

what are the iterator and generic algorithms.


Write a program to encrypt the data in a way that inputs a four digit number and replace each digit by (the sum of that digit plus 7) modulus 10. Then sweep the first digit with the third, second digit with the fourth and print the encrypted number.


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


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


program explaining feautures of c++


Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?


write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num


what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?


Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..


what is scupper?


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


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


Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---


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


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.