Q. Which function returns the length of a string?

  • (A) length
  • (B) size()
  • (C) count()
  • (D) measure()
πŸ’¬ Discuss
βœ… Correct Answer: (A) length
Explanation: The length property returns the number of characters in a string.
Explanation by: Mr. Dubey
The length property returns the number of characters in a string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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