ExamPlay Light Logo
Sign In

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.

Explanation

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

Comments (0)

Login To Comment
Advertisement
BrainBehindX Inc Logo
©2026; Powered By BrainBehindX Inc