←
Top
/
Answer-26B-2
Answer to Question 26B-2
strlen("frog" + 1)
= 3. Pointer "frog"+1 points to the 'r' in "frog". Passing that pointer to
strlen
gives a length of 3; it is like
strlen
("rog").