Single Choice Not Set

QSay we have two compare two strings which of the following function/functions can you use?
(i) strcmp()
(ii) strcasecmp()
(iii) strspn()
(iv) strcspn()

ID: #2395 PHP String and Regular Expression 1,017 views
Question Info
#2395Q ID
Not SetDifficulty
PHP String and Regular ExpressionTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A (i) and (ii)
  • B (iii) and (iv)
  • C None of the mentioned
  • D All of the mentioned
Correct Answer

Explanation

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

Share This Question

Challenge a friend or share with your study group.