Answer (Choose 1 answer)
If myfile.c does not exist, what will be the output of this program?
#include <conio.h>
#include
<stdio.h>
int main(){
FILE *fi:
fi=fopen("myfile.c","r");{
if(fi==NULL)
puts("File not opened");
} else
puts("FILE opened");
getch();
return 0;
}
A. No output
B. FILE opened
C. File not opened
D. Error