Home » C Programming » Variables » Question
  1. A variable declared in a function can be used in main().
    1. False
    2. True if it is declared static
    3. True
    4. All of above
    5. None of these
Correct Option: A

Since the scope of the variable declared within a function is restricted only within that function, so the above statement is false.



Your comments will be displayed only after manual approval.