Q. Which built-in function is used to get the ASCII value of a character?

  • (A) ord()
  • (B) chr()
  • (C) ascii()
  • (D) ordValue()
πŸ’¬ Discuss
βœ… Correct Answer: (A) ord()
Explanation: `ord('A')` returns 65, the ASCII value of character 'A'.
Explanation by: Mr. Dubey
`ord('A')` returns 65, the ASCII value of character 'A'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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