Which of the following statements is true?

It is considered bad form to give a local variale and a global variable the same name.

Global variables can only be used in a limit of two functions.

Local variables must be declared outside of a function in order to be used.

In order to use a gloval variable in a function, you must pass it in as an argument.

1 answer

It is considered bad form to give a local variable and a global variable the same name.