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

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