Q:

Correct syntax to access the static member functions from the main() function is:

0

Correct syntax to access the static member functions from the main() function is:


  1. classObject::functionName();
  2. className::functionName();v
  3. className:classObject:functionName();
  4. className.classObject:functionName();

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (b).className::functionName();

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING MEMBER FUNCTIONS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What are const member functions?... >>
<< How can static member function can be accessed dir...