c get number s of element in array code example
Example: c number of elements in array
int my_strlen(char *str) {
int i = -1;
while (str && str[++i]);
return (i);
}
int my_strlen(char *str) {
int i = -1;
while (str && str[++i]);
return (i);
}