size- t strlen(const char *s)
const char *sc;
for(sc = s; *sc!= ' \ O ' ; ++sc)
return(sc - s) ;
a) number of characters equal in sc
b) length of string s
c) doesn’t return any value
d) displays string s
What will be returned in the following C code?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will be returned in the following C code?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!