I was having some confusions about string and NULLs. So, I read this thread on this very forum. But, I could not understand somethings...
Firstly, Is NULL an integer value 0, or something else?
Secondly,
if(strlen(str)==0)
this shows that the string is null or it shows that the first character is '\0' ?
if I assign
str[]=""
str now is a null string or has no value or contains the null character '\0' or something else ? How much space is it going to acquire?
And finally, please suggest me some good and valid methods to check for NULLs in strings using C++..