strcmp leaves 0 if strings are same. ternery operator is expecting nonzero for true eg. (condition)? true: false That's why !strncmp()
Loading collection data...
strcmp leaves 0 if strings are same.
ternery operator is expecting nonzero for true eg. (condition)? true: false
That's why !strncmp()