Q. What will echo 5 == "5"; output?

  • (A) true
  • (B) false
  • (C) error
  • (D) null
πŸ’¬ Discuss
βœ… Correct Answer: (A) true
Explanation: == checks only value, not type, so integer 5 and string "5" are equal.
Explanation by: Rati Dubey
== checks only value, not type, so integer 5 and string "5" are equal.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
69
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
98%
Success Rate