12) Give the difference between stremp () and strempi ()
? functions.
Answers
Answered by
0
Answer:
strcmp compares both the strings till null-character of either string comes whereas strncmp compares at most num characters of both strings. But if num is equal to the length of either string than strncmp behaves similar to strcmp.
Explanation:
hope its help full
Similar questions