A variable declared in a function can be used in main?
Answer: B
Correct answer: False
A variable declared inside a function has block scope and no linkage, so it does not exist as far as any other function is concerned. Declaring it static changes its lifetime but not its scope - it persists between calls while remaining invisible outside the function.
Please log in or register to report this question.