hi all, if someone has the compiler (Borland) , and can try this three lines of C code in it and till me the result , i'll be very thankful !! the three lines are:
char a[10] ="ball" ;
char b[10] ="zoo";
printf("%d",strcmp(a,b));
i know the the standard definition of this function in C language, but on GCC compiler (on Codeblocks) it returns -1 (not the difference of the two strings) in case the first string is less than the second one,and 1 in the opposite case so i want to to know what it returns on Borland