strncmp in c code example
Example 1: what is stdin in c
//stdin accesses the keyboard, it's a file pointer
Example 2: strncmp c
int strncmp(const char *str1, const char *str2, size_t n)
//if Return value < 0 then it indicates str1 is less than str2.
//if Return value > 0 then it indicates str2 is less than str1.
//if Return value = 0 then it indicates str1 is equal to str2.
Example 3: c strncmp
#include <string.h> // Corrolary to below