MCQ Answer

If the two strings are identical, then strcmp() function returns

If the two strings are identical, then strcmp() function returns

यदि दो तार समान हैं, तो strcmp () फ़ंक्शन रिटर्न करता है
Topic : Arrays

A. -1

B. 1

C. 0

D. Yes




Correct Answer is :

C. 0



Explanation
strcmp(const char *s1, const char*s2); The strcmp return an int value that is if s1 < s2 returns a value < 0 if s1 == s2 returns 0 if s1 > s2 returns a value > 0
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz