The value obtained in the function is given back to main by using __________…
2026
The value obtained in the function is given back to main by using __________ keyword.
- A.
Static
- B.
Return
- C.
New
- D.
Volatile
Attempted by 370 students.
Show answer & explanation
Correct answer: B
In programming, the return keyword is used to send a value back from a function to the calling code (like main). It terminates the function execution and passes control along with any specified value.