Describe the main characteristics of static functions?
Answer / atul shankhwar
The main characteristics of static functions include,
It is without the a this pointer,
It can't directly access the non-static members of its class
It can't be declared const, volatile or virtual.
It doesn't need to be invoked through an object of its class, although for convenience, it may.
Is This Answer Correct ? | 0 Yes | 0 No |
In the derived class, which data member of the base class are visible?
When is a template better solution than a base class??
Can manipulators fall in love?
What does std :: flush do?
Define upcasting.
If horse and bird inherit virtual public from animal, do their constructors initialize the animal constructor? If pegasus inherits from both horse and bird, how does it initialize animal’s constructor?
What is buffer and example?
What character terminates all character array strings a) b) . c) END
Do class declarations end with a semicolon? Do class method definitions?
Write a code/algo to find the frequency of each element in an array?
When to use “const” reference arguments in a function?
What are the 2 main types of data structures?