MCQ
Single Best Answer
Easy
QWhat is the difference between call by value and call by reference in C language?
ID: #7186
Function in C Language
162 views
Question Info
#7186Q ID
EasyDifficulty
Function in C LanguageTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer: Option B
Explanation
Answer: b. Call by value passes a copy of the argument value to the function, while call by reference passes a reference to the argument variable.
Explanation: In call by value, a copy of the argument value is passed to the function, while in call by reference, a reference to the argument variable is passed to the function. Call by reference allows the function to modify the argument variable, while call by value does not.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic