#include <stdio.h>int main()
{
FILE *fp;
char ch:
fp = fopen (__FILE_,"r") ;
do
{
ch
= getc(fp);
putchar(ch);
}
while (ch != EOF);
fclose(fp);
return 0:
}
What is the output of the above snippet?
Options:
- Compile error
- Run error
- The whole program itself is printed as output
- No output