C++ Interview Questions
Questions Answers Views Company eMail

What is conditional Compilation?

emc2, HCL,

3 5805

Precompilation ?

emc2,

1 4062

Difference ways of Polymorphism?

3 4896

Example for 4 pillar of oops like, Inheritance,Poly,Abstraction,Encabsulation ?

3 24254

In multiple inheritance , to create sub class object , is there need to create objects for its superclasses??? in java and c++ both. Actually i have some information that is , all available members from its superclasses , memory created in subclass obj , so no need to create object for its superclasses...??? Thanks in Advance

1 3131

What is the output of the following 3D Array int arr[3][2][2]={1,2,3,4,5,6,7,8,9,10,11,12}; what is the output for arr[2][1][0]?

HCL, Integra, IPMC, ORG,

6 40184

Why static functions always uses static variables?

3 5292

Do you like to Submit Questions in Bulk under Same Category?? Then use our Bulk ListerDo you like to Submit Questions in Bulk under Same Category?? Then use our Bulk Lister

1650

What are the advantages of C++ programming compared to C programming?

HAL,

2 4946

What is Virtual Keyword?

IBM, NA,

9 10333

Adobe Interview & Adobe Placement Paper

Adobe,

1 10429

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?

1743

What is volatile and pragma? When they are used?

1 3036

In which memory a class gets stored(in heap /in stack)? And why??

2 7986

why the argument is passed by reference to a copy constructor?example?

2 5261


Un-Answered Questions { C++ }

What are the five basic elements of a c++ program?

571


What is the best c c++ compiler for windows?

554


Which should be more useful: the protected and public virtuals?

590


What is a template in c++?

627


Can we define function inside main in c++?

541






Write a program to find the Factorial of a number

563


What is partial specialization or template specialization?

546


Is map ordered c++?

583


What are single and multiple inheritances in c++?

568


What is the difference between equal to (==) and assignment operator (=)?

569


Write about the scope resolution operator?

604


What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?

665


What is a class in C++?

564


Show the application of a dynamic array with the help of an example.

576


Explain binary search.

567