Anonymous
public c v1 · immutable#include <stdio.h>int main(){ int c; FILE* arq = fopen("arquivo.txt", "r"); while ((c = getc(arq)) != EOF) printf("Caractere lido: %c\n", c); fclose(arq);}#include <stdio.h>int main(){ int c; FILE* arq = fopen("arquivo.txt", "r"); while ((c = getc(arq)) != EOF) printf("Caractere lido: %c\n", c); fclose(arq);}