Q. Which keyword is used to prevent modification of a variable in C?

  • (A) immutable
  • (B) final
  • (C) const
  • (D) volatile
πŸ’¬ Discuss
βœ… Correct Answer: (C) const
Explanation: const prevents a variable from being modified after initialization.
Explanation by: Mr. Dubey
const prevents a variable from being modified after initialization.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
76
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate