Q. What will be the output of '10' - 2?

  • (A) 8
  • (B) 102
  • (C) NaN
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) 8
Explanation: The minus operator converts the string to a number automatically.
Explanation by: Mr. Dubey
The minus operator converts the string to a number automatically.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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