Write a program to count number of elements in an array using sizeof() operator 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);
}