ExamPlay Dark Logo
Se connecter

Computer Science for IGCSE & O level - Programming (Section 8 - No. 23)

Which is the core feature that differentiates a function from a procedure?
Functions are always shorter.
Functions always return a value.
Procedures are always more complex.
Procedures return a value, and functions do not.

Explication

Functions are designed to return a value to the part of the program that called them.

Commentaires (0)

Connectez-vous pour commenter
Publicité
BrainBehindX Inc Logo
©2026; Alimenté par BrainBehindX Inc