Q. What will be the output of strlen('PHP')?

  • (A) 3
  • (B) 2
  • (C) 4
  • (D) 0
πŸ’¬ Discuss
βœ… Correct Answer: (A) 3
Explanation: strlen() returns the number of characters in a string, which is 3 for 'PHP'.
Explanation by: Rati Dubey
strlen() returns the number of characters in a string, which is 3 for 'PHP'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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