Programming MCQS - QUESTION DETAILS

What is the purpose of the 'strtok' function in C?
A. Tokenize a string
B. Compare strings
C. Concatenate strings
D. Copy strings

'strtok' is used to tokenize a string in C.

Similar Questions

How do you create an object of a class in Java?






What is the role of the 'static' keyword in Java?






Which of the following is a correct way to create an ArrayList in Java?






What is the purpose of the 'default' keyword in a switch statement?






Which method is called to compare objects for equality in Java?






What is the output of System.out.println(10 / 3.0);?






What is the purpose of the 'super()' constructor in Java?






How do you declare a constant in an interface in Java?






What is the purpose of the 'finalize' method in Java?






What is the output of System.out.println("Java" == "Java");?