Q:

Which syntax among the following is correct for public member functions?

0

Which syntax among the following is correct for public member functions?


  1. public::void functionName(parameters)
  2. public void functionName(parameters)
  3. public(void functionName(parameters))
  4. public:-void functionName(Parameters)

All Answers

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

 (b).public void 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
Which syntax is applicable to declare public membe... >>
<< Which type of member functions get inherited in th...