example : strncmp("John", "Johny") it seems this example still works without the 3rd parameter.
Can anyone explain this a little bit? I can't find any explanation in the C documentation.
Thanks.
You forgot to include the relevant header file:
#include <string.h>
Please enable all your compiler warnings and fix them.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With