#include #include #define TAMPON "TAMPON" int main(void) { FILE *flot = fopen(TAMPON, "w"); fputs("Debut du fichier " TAMPON "\n", flot); fflush(flot); fputs("Fin du fichier " TAMPON "\n", flot); printf("Terminaison anormale ? (o/n) : "); if (getchar() == 'o') *((char *) 0) = 0; return EXIT_SUCCESS; }