Code Snippets C

#include
#include
int main () {
FILE *file;
file= fopen ("myfile.txt","r");
if (file == NULL) {
printf ("error reading file\n");
abort();
}
fclose (file);
return 0;
}