CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Which type of parameter is passed in a function for faster execution

A
call by value
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
call by address
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
call by name
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
call by string
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A call by value

Call by value type of parameter is passed in a function for faster execution.

The call by value method of passing arguments to a function copies the actual value of an argument into the formal parameter of the function. In this case, changes made to the parameter inside the function have no effect on the argument. By default, C programming uses call by value to pass arguments.



927730_917406_ans_d680424fff3e44b2a02c3d50e1e32ffb.PNG

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Database Structuring
ACCOUNTANCY
Watch in App
Join BYJU'S Learning Program
CrossIcon