ExamPlay Dark Logo
Sign In

Computer Science for IGCSE & O level - Programming (Section 2 - No. 31)

Which of the following is a valid variable name?
1st_name
my-variable
_variable
if

Explanation

Variable names can start with a letter or underscore; they cannot start with a number and cannot be reserved words.

Comments (0)

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