Write program to Output each character in array of string using pointer and putchar() function.
Use outer for loop to iterate each string.
#include <stdio.h> int main()/*from w w w . j a va 2 s. c om*/ { char *fruit[] = { "watermelon", "banana", "pear", "apple", "coconut", "grape", "blueberry" }; int x,a; for(x=0;x<7;x++) { a=0; while(putchar(*(*(fruit+x)+a++))) ; putchar('\n'); } return(0); }