Answer Posted / sumanta pattanayak
static function is used to call static variable or class
variable...rather than that without creating the class
object we can access the static function by
classname.staticfunctionname.....THIS cannot be used inside
static function.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()
Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.
What are the benefits of oop in c++?
What is the benefit of encapsulation?
What are the two types of polymorphism?
What is pure virtual function? Or what is abstract class?
What are compilers in c++?
Is empty stack c++?
If there are two catch statements, one for base and one for derived, which should come first?
What is the use of dot in c++?
What is array in c++ example?
What are shallow and deep copies?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required
What is the difference between the indirection operator and the address of oper-ator?
By using c++ with an example describe linked list?