Q. What will be the radix value of the parseInt() method when the string begins with 0?

  • (A) 6
  • (B) 7
  • (C) 8
  • (D) 9
πŸ’¬ Discuss
βœ… Correct Answer: (C) 8
Explanation: If the string begins with “0”, the radix is 8 (octal). This feature is deprecated.
Explanation by: Mr. Dubey
If the string begins with “0”, the radix is 8 (octal). This feature is deprecated.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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