Top

Discussion

The______ function returns the number of characters that are present before the terminating null character.

  • A.strlength()
  • B.strlen()
  • C.strlent()
  • D.strchr()

Answer: B

The strlen() function is used to return the number of characters that are present before the terminating null character.size-t strlen(const char *s);The length of the string pointed to by s is computed by strlen().

No comment is present. Be the first to comment.
Loading…

Post your comment