MCQ Single Best Answer Easy

QWhich of the following is true about function arguments in C language?

ID: #7184 Function in C Language 214 views
Question Info
#7184Q ID
EasyDifficulty
Function in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Function arguments are always passed by value.
  • B Function arguments are always passed by reference.
  • C Function arguments can be passed by value or by reference.
  • D Function arguments can be passed by value, bot not by reference
Correct Answer: Option C

Explanation

Answer: c. Function arguments can be passed by value or by reference.

Explanation: In C language, function arguments can be passed by value or by reference. When an argument is passed by value, a copy of the argument value is passed to the function. When an argument is passed by reference, a reference to the argument variable is passed to the function.

Share This Question

Challenge a friend or share with your study group.