R

Ram Sharma • 3.40K Points
Extraordinary

Q. What is the purpose of `ref` keyword in method parameters?

  • (A) Pass argument by value
  • (B) Allow multiple return values
  • (C) Pass argument by reference
  • (D) Make parameter optional

Explanation by: Ram Sharma
`ref` allows arguments to be passed by reference rather than by value.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.