ACD100 Exam QuestionsBrowse all questions from this exam

ACD100 Exam - Question 31


What type of variable can only be used within the context of a particular expression, and can only be accessed within the function that defines them?

Show Answer
Correct Answer: A

A local variable is a type of variable that can only be used within the context of a particular expression and can only be accessed within the function that defines it. Local variables are typically declared within a function and only exist during the execution of that function.

Discussion

1 comment
Sign in to comment
yanoolthecoolOption: A
Dec 26, 2023

yep, local variables