Skip to main content

Posts

Showing posts from February 9, 2012

Try to answer these questions.All these are asked in various interviews.

Try to answer these questions .All these are asked in various interviews. What is a class?  What is an object?  What is the difference between an object and a class?  What is the difference between class and structure?  What is public, protected, private?  What are virtual functions?  What is friend function?  What is a scope resolution operator?  What do you mean by inheritance?  What is abstraction?  What is polymorphism? Explain with an example.  What is encapsulation?  What do you mean by binding of data and functions?  What is function overloading and operator overloading?  What is virtual class and friend class?  What do you mean by inline function?  What do you mean by public, private, protected and friendly?  When is an object created and what is its lifetime?  What do you mean by multiple inheritance and multilevel inheritance?  Differentiate between them.  Difference between realloc() and free?  What is a template?  What are the main differences betw