read and test each file entry and print it
while(fscanf(f_ptr,"%d",&dummy) != EOF)
printf("\n %d\n",dummy);