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


Answer: B

Computer Science & Information Technology

You might also like to view...

If a template class called collection has been defined, write the declaration of a variable called holder (type collection) that is to be used with strings.

What will be an ideal response?

Computer Science & Information Technology

Which operators can be overloaded only as non-static class members?

What will be an ideal response?

Computer Science & Information Technology

Algorithms are guaranteed to work

a. 99.9% of the time b. 100% of the time c. it depends on the computers they are running on d. 50% percent of the time

Computer Science & Information Technology

An id selector can be used to select several elements on a page.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology