#include int main() { int c; FILE* arq = fopen("arquivo.txt", "r"); while ((c = getc(arq)) != EOF) printf("Caractere lido: %c\n", c); fclose(arq); }