Q. Which function is used to find the length of a string?

  • (A) strlen()
  • (B) size()
  • (C) strlength()
  • (D) length()
πŸ’¬ Discuss
βœ… Correct Answer: (A) strlen()
Explanation: strlen() returns the number of characters before null terminator.
Explanation by: Mr. Dubey
strlen() returns the number of characters before null terminator.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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