|
Question |
Rating |
View Answer |
|
What is the difference between declaration and definition?
|
|
View Answer |
|
What are the advantages of inheritance?
|
|
View Answer |
|
Tell how to check whether a linked list is circular.
|
|
View Answer |
|
What is public, protected, private?
|
|
View Answer |
|
Write a program that ask for user input from 5 to 9 then calculate the average
|
|
View Answer |
|
What do you mean by inline function?
|
|
View Answer |
|
What is the difference between class and structure?
|
|
View Answer |
|
You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. new() and malloc()
|
|
View Answer |
|
What is a template? |
|
View Answer |
|
What is the difference between an ARRAY and a LIST? |
|
View Answer |
|
What do you mean by inheritance?
|
|
View Answer |
|
What is an object? |
|
View Answer |
|
Explain term POLIMORPHISM and give an example using eg. SHAPE object: If I have a base class SHAPE, how would I define DRAW methods for two objects CIRCLE and SQUARE
|
|
View Answer |
|
What is encapsulation? |
|
View Answer |
|
What is the word you will use when defining a function in base class to allow this function to be a polimorphic function? virtual |
|
View Answer |
|
What is a COPY CONSTRUCTOR and when is it called?
|
|
View Answer |
|
Describe PRIVATE, PROTECTED and PUBLIC – the differences and give examples. |
|
View Answer |
|
What is polymorphism? Explain with an example?
|
|
View Answer |
|
What do you mean by pure virtual functions? |
|
View Answer |
|
What is the difference between an external iterator and an internal iterator? Describe an
|
|
View Answer |