Amit Kumar

Amit Kumar

  • NA
  • 16
  • 0

Which one of the following describes correctly a static variable?

Jun 21 2010 2:42 AM
1.8 Which one of the following describes correctly a static variable?
A) This cannot be initialized.
B) This is initialized once at the commencement of execution and cannot be changed at run
time.
C) This retains its value through the life of the program.
D) This is same as an automatic variable but is placed at the head of a program.

Answers (1)