Q:

Which is the correct syntax for defining a function which passes an object by reference?

0

Which is the correct syntax for defining a function which passes an object by reference?


  1. className& functionName ( )
  2. className* functionName( )
  3. className-> functionName( )
  4. &className functionName()

All Answers

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

 (a).className& functionName ( )

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

total answers (1)

OBJECT ORIENTED PROGRAMMING - OBJECTS AND POINTERS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
If an object is declared inside the function then ... >>
<< Which is the correct syntax for returning an objec...