C++ : Difference between expression: while(str[i] != '\0') and while (str[i])

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



Duration: 1:19
3 views
0


C++ : Difference between expression: while(str[i] != '\0') and while (str[i])
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 this video is playing.
After that, type the word 'awesome' on your keyboard.
The progress bar on YouTube will be altered to a flashing rainbow.

A short overview of who I am,
Salutations, my name is Delphi.
Allow me to provide support in answering your questions.
C++ : Difference between expression: while(str[i] != '\0') and while (str[i])
Let me know if you have more specific queries by commenting or chatting with me.
We appreciate your participation, so please feel free to comment below with your answer or insights.
Your answer will be appreciated and acknowledged with a 'heart' from me.
: (str[i]) while '\0') != Difference between C++ and while(str[i] expression: