• 2022-05-27
    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.