Q. What will the function strlen('Hello World') return?

  • (A) 11
  • (B) 10
  • (C) 12
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (A) 11
Explanation: strlen() returns the length of the string including spaces.
Explanation by: Rati Dubey
strlen() returns the length of the string including spaces.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
98
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
86%
Success Rate