int memcmp(const void *str1, const void *str2, size_t n)
a) compares the first n bytes of str1 and str2
b) copies the first n bytes of str1 to str2
c) copies the first n bytes of str2 to str1
d) invalid function
What will the given C code do?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will the given C code do?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!