>>163
#include <stdio.h>

char* word[] = {"ab","cd","ef","gh"};

int main(){
int i,j;
int count = 0;

for(i=0 ; i<sizeof(word)/sizeof(char*) ; i++){
for(j=0 ; j<sizeof(word)/sizeof(char*) ; j++){
printf("[%d] %s%s\n",++count,word[i],word[j]);
}
}

return 0;
}