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
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
What is a tuple c++?
What is a virtual destructor? Explain the use of it?
Explain how functions are classified in C++ ?
What is the best way to take screenshots of a window with c++ in windows?
What is the difference between structure and class?
What is the insertion operator and what does it do?
If dog is a friend of boy, and terrier derives from dog, is terrier a friend of boy?
Which programming language is best to learn first?
the maximum length of a character constant can be a) 2 b) 1 c) 8
What is std :: endl?
Do vectors start at 0?
What is an arraylist c++?
What are structs in c++?
What are the benefits of pointers?