141k views
1 vote
What is the build in libary function to compare two strings?​

1 Answer

1 vote

Answer:

strcmp() is a built-in library function and is declared in <string. h> header file. This function takes two strings as arguments and compare these two strings lexicographically.

Step-by-step explanation:

Hope it helps

User Henley Wing Chiu
by
6.1k points