Examveda

What is the purpose of the 'strtok()' function in C++?

A. Converts a string to lowercase

B. Returns the length of a string

C. Concatenates two strings

D. Tokenizes a string based on a delimiter

Answer: Option D


Join The Discussion

Related Questions on Arrays and Strings in C plus plus