ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Programming (Section 12 - No. 1)

What is the role of the 'return' statement in a function?
To start the function.
To call another function.
To end the function and return a value.
To declare a variable inside the function.

Giải thích

The 'return' statement provides a mechanism for a function to send back a value or signal its completion.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc