while(targetchar[n]!='\0')
char givenchar[256]; int m=0; //printf("Input given character string\n"); gets(givenchar); while(givenchar[m]!='\0') m++;
printf("%c",a[0][j]);