Q:

Which syntax among the following shows that a member is private in a class?

0

Which syntax among the following shows that a member is private in a class?


  1. private: functionName(parameters)
  2. private(functionName(parameters))
  3. private functionName(parameters)
  4. private::functionName(parameters)

All Answers

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

 (c).private functionName(parameters)

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
If private member functions are to be declared in ... >>
<< Which member can never be accessed by inherited cl...