c function to find number of element in an 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);
}