|
Question |
Rating |
View Answer |
|
When is a template a better solution than a base class?
|
|
View Answer |
|
What is the difference between char a[] = “string”; and char *p = “string”; ?
|
|
View Answer |
|
What do you mean by early binding? |
|
View Answer |
|
What is class invariant?
|
|
View Answer |
|
What is the use of default constructor? |
|
View Answer |
|
What are the conditions that have to be met for a condition to be an invariant of the class?
|
|
View Answer |
|
Write the psuedo code for the Depth first Search.
|
|
View Answer |
|
Describe PRIVATE, PROTECTED and PUBLIC – the differences and give examples. |
|
View Answer |
|
Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace? |
|
View Answer |
|
What is polymorphism? Explain with an example?
|
|
View Answer |
|
Assignment Operator - What is the diffrence between a "assignment operator" and a "copy constructor"?
|
|
View Answer |
|
In C++, what is the difference between method overloading and method overriding? |
|
View Answer |
|
When are copy constructors called?
|
|
View Answer |
|
What are monomorphic and polymorphic classes? |
|
View Answer |
|
Differentiate between a deep copy and a shallow copy? |
|
View Answer |
|
What is C++?
|
|
View Answer |
|
Virtual Destructor - What is the need for Virtual Destructor
|
|
View Answer |
|
How do you decide which integer type to use?
|
|
View Answer |
|
When are temporary variables created by C++ compiler? |
|
View Answer |
|
Will the inline function be compiled as the inline function always? Justify.
|
|
View Answer |