Q. Which of the following are valid floating point literal?

  • (A) 0.5
  • (B) 5
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (A) 0.5
Explanation: floating point literals are valid only when they have digits on both the sides of decimal point.
Explanation by: Team MCQ Buddy
floating point literals are valid only when they have digits on both the sides of decimal point.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
190
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Team MCQ Buddy
Publisher
πŸ“ˆ
90%
Success Rate