The default parameter passing method used in C++ is —
2022
The default parameter passing method used in C++ is —
- A.
Call by Reference
- B.
Call by Value
- C.
Call by Name
- D.
None of the above
Attempted by 290 students.
Show answer & explanation
Correct answer: B
In C++, function parameters are passed by value by default , meaning a copy of the variable is sent, not the original.
A video solution is available for this question — log in and enroll to watch it.