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
Answer: Option D
Solution(By Examveda Team)
All of the functions mentioned above can be used to compare strings in some or the other way.Related Questions on Regular Expressions
A. 1 and 2
B. 2 and 4
C. 1 and 4
D. 2 and 3
Join The Discussion