I try to read text file looks like
int main()
{
FILE *file;
char k[200][2];
int i=0;
if((file=fopen("blobs1.txt","r"))!=NULL);
{
while(!feof(file))
{
fscanf(file,"%s",&k[i]);
printf("%s",k[i]);
}
}
and result is:1020xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
but I want it to be like the picture.Where am I doing wrong ? Thank you.