Sail E0 Webinar
Question
Say we have two compare two strings which of the following function/functions can you use?(i) strcmp()(ii) strcasecmp()(iii) strspn()(iv) strcspn()
Options:
A .  (i) and (ii)
B .  (iii) and (iv)
C .  None of the mentioned
D .  All of the mentioned
Answer: Option D


All of the functions mentioned above can be used to compare strings in some or the other way.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers