Answer:
strcmp(char * A, char * B);
strcat(char * A, char * B)
Explanation:
One of these basic functions is the function strcmp(char * A, char * B).
This functions compares if two strings are equal; If they are, it returns 0. If not, it returns 1;
So, an example:
char A[13] = "Buffalo Bills";
char B[13] = "Buffalo Bills";
if (strcmp(A,B) == 0)
printf("The strings are the same\n);
else
printf("The strings are not the same");
In this case, they are the same.
----------------------
If for example:
char B[13] = "Buffalo Billz"
It would fall in the else, A and B would not be the same strings.
--------------------------
Other function is the strcat(char * A, char * B);
This function takes two strings as an input, and concatenate them to the first.
For example:
char A[15] = "Buffalo";
char B[5] = "Bills";
strcat(A, B);
printf("%s\n", A);
The output is:
Buffalo Bills