#include <stdio.h> #include <stdlib.h> int main () { FILE *file; file = open ("my.txt","r"); if (file==NULL) { printf ("Error opening file"); exit (1); } return 0; }