getc e` un macro che legge un carattere da un flusso fgetc come getc(), ma realizzata come funzione putc() e` una macro che scrive un carattere da un flusso fputc() come putc() ma realizzata come funzione prototipo in stdio.h int getc(FILE*stream); parametri stream e` un tipo puntatore a FILE risultato: getc() restituisce il prox carattere letto in stream o restituisce EOf se le fine del file... la macro putc prototipo in stdio.h int putc(int c, FILE*stream) -c di tipo int e` il carattere da scrivere nel file ( viene convertito automaticamente nel tipo char prima di essre scritto nel file) -stream di tipo File* punta al file su cui scrivere Risultato: restituisce il carattere scritto facendo avanzare l`indicatore di posizione se la scrittura ha successo EOF se fallisce.