Programming MCQS - QUESTION DETAILS

What is the purpose of the 'strchr' function in C?
A. Search for a character in a string
B. Search for a string in another string
C. Compare strings
D. Concatenate strings

'strchr' is used to search for a character in a string.

Similar Questions

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






Which of the following is not a primitive data type in Java?






Which keyword is used to declare a constant in Java?






How do you declare an array of function pointers in C?






What is the default value of a boolean variable in Java?






What is Java?






How do you achieve multiple inheritance in Java?






What is the purpose of the 'throws' keyword in Java?






What is the entry point for the execution of a Java program?






Which collection class is synchronized in Java?