Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

string compare in c

strcmp(leftStr, rightStr);
//compares ascii value and gives positive, negative or zero.
Source by www.codingame.com #
 
PREVIOUS NEXT
Tagged: #string #compare
ADD COMMENT
Topic
Name
7+3 =