ExamPlay Light Logo
로그인

Computer Science for IGCSE & O level - Programming (Section 3 - No. 14)

Which statement most accurately describes the difference between a procedure and a function?
Procedures can't return values; functions always return values.
Functions can't have parameters; procedures can.
Procedures always return values; functions can't.
Procedures are used for input; functions are used for output.

설명

A key distinction is that functions are designed to return a value, while procedures may or may not return values.

댓글 (0)

댓글을 달려면 로그인하세요
광고
BrainBehindX Inc Logo
©2026; 에 의해 구동 BrainBehindX Inc