The value obtained in the function is given back to main by using __________…

2025

The value obtained in the function is given back to main by using __________ keyword.

Answer: B. ReturnIn 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…

  1. A.

    Static

  2. B.

    Return

  3. C.

    New

  4. D.

    Volatile

Attempted by 750 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.

Explore the full course: Up Lt Grade Assistant Teacher 2025

Loading lesson…