1.

What are the different outputs generated by strcmp() function?

Answer»

The strcmp() function generates any one of the following outputs. Zero if both the strings are the same,

1. Positive integer if the first string is greater than the second string.

2. Negative integer if the first string is lesser than the second string.



Discussion

No Comment Found