Variables Flashcards

(3 cards)

1
Q

What are global variables

A

Variables whose values have visibilty/scope throughout the program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are local variables

A

Variables whose values can only be used in the subroutine where it is declared

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly