for (int i = 0; i

{

printf("%c", fgetc(fp));

}

이렇게 하면 MZ 이렇게 출력되는데




printf("%c%c", fgetc(fp),fgetc(fp));


이렇게 하면 ZM 이렇게 반대로 출력됨





왜이런건가요?