|
Question |
Rating |
View Answer |
|
Differentiate between a template class and class template.
|
|
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's the best way to declare and define global variables?
|
|
View Answer |
|
What is your reaction to this line of code? |
|
View Answer |
|
what should the 64-bit integer type on new,64-bit machines be? |
|
View Answer |
|
What’s the auto keyword good for?
|
|
View Answer |
|
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
|
|
View Answer |
|
What is an object? |
|
View Answer |
|
What is the difference between a template class and class template? |
|
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 are the advantages of using cin and cout compared to scanf(...) and printf(...), respectively? |
|
View Answer |
|
Write a fucntion that will reverse a string.
|
|
View Answer |
|
What is an orthogonal base class?
|
|
View Answer |
|
What is the difference between declaration and definition?
|
|
View Answer |
|
What is polymorphism?
|
|
View Answer |
|
Can you be bale to identify between Straight- through and Cross- over cable wiring? and in what case do you use Straight- through and Cross-over?
|
|
View Answer |
|
What is a node class?
|
|
View Answer |
|
Write a Struct Time where integer m, h, s are its members struct Time { int m; int h; int s; }; |
|
View Answer |
|
What is the Standard Template Library (STL)?
|
|
View Answer |
|
What do you mean by inline function?
|
|
View Answer |