Q. Which one is used to declare a constant in C?

  • (A) #define
  • (B) const
  • (C) Both
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (C) Both
Explanation: Both const and #define can be used to define constants in C.
Explanation by: Mr. Dubey
Both const and #define can be used to define constants in C.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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