Discussion :: Library Functions - Find Output of Program (Q.No.6)
|Levin said: (Sep 14, 2011)|
|If the condition is true 1 is to be returned. How 0 here ?|
|Prasad said: (Sep 2, 2012)|
|When we compare the string if each char matches then it returns 0. Else if ascii equ of fst string is greater then postive value ie difference of two strings is return else difference of two strings negative value will be returned. Hope it helped.|
Post your comments here:
Email : (optional)
» Your comments will be displayed only after manual approval.