C++ : Difference between strlen(str.c_str()) and str.length() for std::string

Channel:
Subscribers:
76,600
Published on ● Video Link: https://www.youtube.com/watch?v=W2KyPb_YNKI



Duration: 1:33
0 views
0


C++ : Difference between strlen(str.c_str()) and str.length() for std::string
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

As promised, I have a secret feature that I want to reveal to you.
This is a YouTube's feature which works on Desktop.
First, Make sure the video is currently in playing mode.
Next, enter the letters 'awesome' on your keyboard.
You will see a flashing rainbow instead of a regular progress bar on YouTube.

A short overview of who I am,
Hi, my name is Delphi, nice to meet you.
Let me aid you in resolving any queries you may have.
C++ : Difference between strlen(str.c_str()) and str.length() for std::string
I am always open to chatting or receiving comments from you if you have more specific queries.
Please feel free to leave a comment below if you have an answer or insights on the answer.
A 'heart' from me will be given as a sign of appreciation for your answer.
strlen(str.c_str()) C++ for : std::string between Difference and str.length()