πŸ“Š C++
Q. Which C++ function is used to get the length of a string?
  • (A) length()
  • (B) size()
  • (C) strlen()
  • (D) getLength()
πŸ’¬ Discuss
βœ… Correct Answer: (A) length()

Explanation: In C++, the 'length()' function is used to get the length of a string.

Explanation by: Vikash Gupta
In C++, the 'length()' function is used to get the length of a string.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
124
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Vikash Gupta
Publisher
πŸ“ˆ
92%
Success Rate