ExamPlay Light Logo
Se connecter

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

What is the main difference between constants and variables?
Variables store numbers, constants store text.
Constants can be changed during program execution, variables cannot.
Variables can be changed during program execution, constants cannot.
Constants require more memory than variables.

Explication

A variable's value can be altered, a constant's remains fixed throughout the program.

Commentaires (0)

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