C++ General Interview Questions
Questions Answers Views Company eMail

What is the difference between public, private, protected inheritance?

Wipro,

12 58104

What is Virtual Inheritance?

Amazon, Wipro,

7 14732

What is the difference between operator new and the new operator?

Amazon, TCS, Wipro,

3 11353

What happens if an exception is throws from an, object's constructor and object's destructor?

Wipro,

4 15539

What is the difference between Pointer and a Reference? When you would use them?

Wipro,

4 11723

What are the differences between a struct in C and in C++?

Amazon, Wipro,

8 15943

What are the differences between a struct and a class in C++?

Amazon, Wipro,

7 11420

What are the differences between public, private, and protected access?

IBM, Oracle, Wipro,

12 71447

What is the difference between a copy constructor and an overloaded assignment operator?

Belzabar, Citrix, Microsoft, Wipro,

4 22513

How do you link a C++ program to C functions?

4 15792

Can inline functions have a recursion? Give the reason?

3 8135

How Virtual functions call up is maintained?

2 9244

What is problem with Runtime type identification?

2 8354

What about Virtual Destructor?

Virtusa,

1 6078

What are advantages of C++ when comparing with C?

HP, iGate, TCS,

18 27035


Post New C++ General Questions

Un-Answered Questions { C++ General }

What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random

656


Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

745


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.

2533


Is sorted c++?

575


List the advantages of inheritance.

645






What are function prototypes?

650


What is token c++?

584


Is turbo c++ free?

619


What is else syntax in c++?

642


How can you specify a class in C++?

800


What does namespace mean in c++?

555


What is meant by entry controlled loop? What all C++ loops are exit controlled?

567


What is auto type c++?

630


How are virtual functions implemented in c++?

605


In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....

1947