Question

What is the scope of a parameter in a function?

A It is local to the function and can only be accessed within the function.
B It is global and can be accessed from any part of the program.
C It is local to the function but can be accessed from other functions.
D It is local to the function but can be accessed from other methods within the same class.
Practice Next

Relevant for Exams:

Hey! Ask a query