home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_05 / 293.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-12  |  683KB  |  2550x3300
Labels: book | reckoner
OCR: The Common String Library Functions 293 5.4 If the two strings arc identical the return value is zero 0. If the first string is lexicographically less than the second (the first differing 1 character comes earlier in the underlying character set), the value returned negative ddress of an lexicographically greater than the second the value cumentation returned the first positive string 18 nory alloca- o the buffer For example with the ASCII character set, strcmp "now the time" "She sells sea shells" returns positive value because is appears in the character set before 'n'. The ring to the value returned by sometimes strcmp "Bingo "Parcheesi" The second would be negative The parameters could also be arrays of characters containing the string first In null null- -terminated -terminated string ...