MANISH M SHUKLA (Microsoft Certified Trainer)
What is multiple inheritance(virtual inheritance)? What are its advantages anddisadvantages?52.What are the access privileges in C++? What is the default access level?53.What is a nested class? Why can it be useful?54.What is a local class? Why can it be useful?
Can a copy constructor accept an object of the same class as parameter, instead of reference of the object?56.What is the difference between procedural and object-oriented programs?57.What are Encapsulation, Inheritance and Polymorphism?58.What is the difference between Assignment and Initialization?59.What is OOPs?60.What are Class, Constructor and Primitive data types?61.What is an Object and how do you allocate memory to it?62.What is the difference between constructor and method?63.What are methods and how are they defined?64.What is the use of bin and lib in JDK?65.What is casting?66.How many ways can an argument be passed to a subroutine and explain them?67.What is the difference between an argument and a parameter?68.What are different types of access modifiers?
When we can declare a method as abstract method ?
Can We call a abstract method from a non abstract method ?
What is the difference between an Abstract class and Interface ? And can you explain whenyou are using an Abstract classes ?72.What is Operator overloading?
What are Templates?
What is the difference between run time binding and compile time binding?
What is Difference Between C/C++?76.What will be the output of the following code?77.Why doesn't the following code give the desired result?78.Why doesn't the following statement work?79.How do I know how many elements an array can hold?
How do I write code that reads data at memory location specified by segment and offset?
Is it possible to have Virtual Constructor? If yes, how? If not, Why not possible ?82.What about Virtual Destructor?
What is Pure Virtual Function? Why and when it is used ?84.What is problem with Runtime type identification?85.How Virtual functions call up is maintained?86.Can inline functions have a recursion?87.How do you link a C++ program to C functions?
INTERVIEW QUESTIONARY Page 3