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.
举一反三
- 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
- 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
- The purpose of the ____ storage class is to extend the scope of a global variable declared in one source code file into another source code file. A: auto B: static C: extern D: register
- Which area has a large space for storage?
- Once a produce has been cooled to storage temperature ,its temperature muse be maintained in a refrigerated storage area. A: 正确 B: 错误
内容
- 0
Which of the following is false? ( ) A: A static method must be used to access private static instance variables. B: A static method can be accessed even when no objects of its class have been instantiated. C: A static method has no this reference. D: A static method can call instance methods directly.
- 1
Which of the following features is an IBM advantage when comparing the Oracle/Storage TekVirtual Storage Manager (VSM) to the IBM Virtualization Engine TS7700 (VTS)?() A: throughput B: automatic tape reclamation C: 3490E tape volume emulation D: disk and tape (physical) storage included in same frame
- 2
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.
- 3
The customer has an IBM Enterprise Storage Server 800 coming off lease this year. Themaintenance charges are becoming very expensive and they are looking at a new storage solutionto attach to their mainframe environment. Which of the following solutions would be most costeffective?() A: DS8300 B: DS8700 C: Storwize V7000 D: XIV Storage System
- 4
Which one is the character of a digital camera? A: Digital Storage B: Fixed ISO C: The picture obtained by a digital camera can be seen instantly. D: Digital cameras have many kinds of storage format.