You are not logged in.

#1 2015-09-16 05:17:54

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Identical Strings:

C Programming Quizzes C Language Arrays And Strings

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

Option A):
-1
Option B):
0
Option C):
1
Option D):
None

Correct Answer is Option B):
0


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-09-16 05:17:54

Advertisement
Ads By Google

Re: Identical Strings:



Board footer