17.
Explanation
Local Variable:
-
Local variables are defined within a specific function or block of code.
-
They have limited scope and can only be accessed and used within the function or block in which they are declared.
Global Variable:
-
Global variables are defined outside of any function, typically at the beginning of a program.
-
They have a global scope, which means they can be accessed and modified from any part of the program, including different functions.