Top
/
Algorithms on strings
/
Answer-31-6
Answer to Question 31-6
Yes. Variable
r
ends up holding the address that holds the null character. The difference between that address and the address
s
of the beginning of the string is precisely the string length.