Ask Question
2 September, 21:08

Which statement is false? Select one:

A. Arrays that are defined static are automatically initialized once at compile time.

B. A static local variable exists for the duration of the program.

C. A static local variable is visible to other functions.

D. A static local array is not created and destroyed each time the function is entered and exited.

+3
Answers (1)
  1. 2 September, 21:33
    0
    C. A static local variable is visible to other functions

    Explanation:

    C. A static local variable is visible to other functions.

    this statement among the given four statement is False while the others are true because Static variables are defined as the variables whose value remains constant through out the program once initialized. And local static variables are variables whose scope finishes after its block, so they are not visible to other function.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Which statement is false? Select one: A. Arrays that are defined static are automatically initialized once at compile time. B. A static ...” in 📗 Physics if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers