A variable declared in a function can be used in main
A. True
B. False
C. True if it is declared static
D. None of the mentioned
Answer:A
A variable declared in a function can be used in main
A. True B. False C. True if it is declared static D. None of the mentioned
Explanation:Since the scope of the variable declared within a function is restricted only within that function,