ExamPlay Dark Logo
Đăng nhập

Computer Science for IGCSE & O level - Programming (Section 6 - No. 13)

What is a key characteristic of a local variable?
It can be accessed from anywhere in the program.
It can be declared only inside a procedure.
It is limited to the part of the program where it is declared.
It stores constant values throughout the program.

Giải thích

Local variables have scope limited to the block where they are declared, typically within a procedure or function.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc