Q. Which of the following is a valid variable name in C?

  • (A) int
  • (B) float_num
  • (C) 2value
  • (D) user-name
πŸ’¬ Discuss
βœ… Correct Answer: (B) float_num
Explanation: Variable names can't begin with a number or contain hyphens. Keywords are invalid.
Explanation by: Mr. Dubey
Variable names can't begin with a number or contain hyphens. Keywords are invalid.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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