Q13
Say we have two compare two strings which of the following function/functions can you use? 1. strcmp() 2. strcasecmp() 3. strspn() 4. strcspn()
A.
1 and 2
B.
3 and 4
C.
None of the mentioned
D.
All of the mentioned
AnswerAnswer: Option D
Solution
Answer: Option D
Solution:
All of the functions mentioned above can be used to compare strings in some or the other way.