105k views
0 votes
A local variable that is declared as ____ causes the program to keep the variable and its latest value even when the function that declared it is through executing.

A) auto
B) static
C) extern
D) register

User Jihoon Kim
by
7.8k points

1 Answer

3 votes

Answer:

A local variable that is declared as Static causes the program to keep the variable and its latest value even when the function that declared it is through executing.

User Vicente Quintans
by
7.8k points