When the design recommends static functions?
Answer Posted / manu
The design reccommends static functions when you need to
call the function even when the class is not instantiated.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What are the syntactic rules to be avoid ambiguity in multiple inheritance?
What is the difference between #import and #include?
what is COPY CONSTRUCTOR and what is it used for?
What does n mean in c++?
Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.
Explain linear search.
Tell me an example where stacks are useful?
What do you mean by overhead in c++?
What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.
Write a Program to find the largest of 4 no using macros.
What is the difference between the indirection operator and the address of oper-ator?
Do you know what are pure virtual functions?
How would you use the functions randomize() and random()?
Is string data type in c++?
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?