πŸ“Š C Programming
Q. Which of the following is true about global variables in C?
  • (A) They are declared inside functions
  • (B) They are accessible only in main()
  • (C) They retain value throughout the program
  • (D) They must be initialized
πŸ’¬ Discuss
βœ… Correct Answer: (C) They retain value throughout the program

Explanation: Global variables persist for the entire duration of the program.

Explanation by: Mr. Dubey
Global variables persist for the entire duration of the program.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
48
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate