πŸ“Š C Programming
Q. Choose a correct statement about static variable.
  • (A) A static global variable can be accessed in other files.
  • (B) A static global variable can be used only in a file in which it is declared.
  • (C) A static global variable can not be declared without extern keyword.
  • (D) Default value of a static variable is -1.
πŸ’¬ Discuss
βœ… Correct Answer: (B) A static global variable can be used only in a file in which it is declared.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
242
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
91%
Success Rate