#include "stdio.h"void main(){ FILE *fp; fp=fopen("data.txt","r" ); if (fp==NULL) { printf("FILE cannot be opened\n"); exit(0); } else { printf("FILE opened for reading\n"); fclose(fp); }}