Top

Discussion

The C library function _________ breaks string s1 into a series of tokens using the delimiter s2.

  • A.char *strtok(char *s1,const char *s2);
  • B.char *strtok(char *s2,const char *s1);
  • C.char *strstr(char *s1,const char *s2);
  • D.char *strstr(char *s2,const char *s1);

Answer: A

The C library function char *strtok(char *s1, const char *s2) breaks string s1 into a series of tokens using the delimiter s2.

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

Post your comment