Of which the initial value is unpredictable, if it is not initialized?
A: static external variable
B: local variable
C: static local variable
D: external variable
A: static external variable
B: local variable
C: static local variable
D: external variable
举一反三
- Which one of the following statements is right? A: If a local variable has static storage duration, its lifetime will be extended. B: If a global variable has static storage duration, its scope will be expanded. C: A variable will have an unpredictable value before initialization; no matter it has static storage duration or automatic storage duration. D: The storage type descriptors which formal parameter can use are exactly the same as that used by the local variables.
- Which of the following type of variable is visible only within a function where it is defined? A: global variable B: local variable C: Both of the above. D: None of the above.
- Duplicate local variable i(翻译错误)
- If the storage type of a variable is , the compiler allocates memory only when the variable is referred?? register or static|extern or register|auto or register|auto or static
- A variable that can take on values at any point over a given interval is called _______. A: a value variable B: a continuous random variable C: a point variable D: a discrete random variable