ExamPlay Light Logo
Pierakstīties

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.

Paskaidrojums

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

komentāri (0)

Piesakieties, lai komentētu
Reklāma
BrainBehindX Inc Logo
©2026; Powered by BrainBehindX Inc