Q11.webp
Erza_girl

Q11.webp

Kizspy | Question: 11
(Choose 1 answer)
What is the primary difference between global variables and local variables in C?
A. Global variables have a wider scope and can be accessed from any function, while local variables are
limited to their function's scope.
B. Global variables are initialized automatically to zero, while local variables require explicit initialization.
C. Local variables cannot be modified after initialization, while global variables allow modification at any time.
D. Global variables can only be used within the main function, while local variables can be used throughout
the program.

Thông tin

Category
PRF192
Thêm bởi
Erza_girl
Ngày thêm
Lượt xem
2,218
Lượt bình luận
7
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom