How would you find the length of each string in the program . 09:36 Unknown No comments How would you find the length of each string in the program? void main() { char *str[] = {“Frogs”, “Do”, “Not”, “They”, “Croak!”}; int i; for(i=0; i<=4; i++) printf(“\n %s %d”, str[i], strlen(str[i])); } Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment