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

Which is the correct syntax for defining a function which passes an object by reference? Correct Answer className& functionName ( )

The function declaration must contain the class name as return type. But, a & symbol should be followed by the class name. & indicates that the object being returned will be returned by reference.
Bissoy MCQ

Related Questions

Pass by address passes the address of object _________ and pass by reference passes the address of the object _________
What is the correct syntax of defining function template/template functions?
Which among the following is the correct syntax for defining “Constraint Check” in Mysql?
Which among the following is the correct syntax for defining “ENUM” in Mysql?
Which among the following is the correct syntax for defining "Constraint Check" in Mysql?
Which among the following is the correct syntax for defining "ENUM" in Mysql?