Investigate 20.5.
Without using
strlen()
, how could you find the length of a string?Hint.
Remember, all strings are terminated by the null character
/0
.strlen()
, how could you find the length of a string?/0
.