1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include <stdio.h> int main() { char *gang[5]={ "Spanky", "Buckwheat", "Alfalfa", "Darla", "Pet the PUP", }; int x; for(x = 0; x < 5; x ++) //printf("%p\n",gang[x]); printf("%s\n",gang[x]); return(0); }
1 2 3 4 5
Spanky Buckwheat Alfalfa Darla Pet the PUP