Write an expression that evaluates to true if the value of the C-string s1 is greater than the value of C-string s2.

.
.
Click on the title for the solution
.
.

This is the answer:

:

(strcmp(s1,s2) > 0) ? 1 : 0

Comments