Hi,
I have a C program that reads the data from a file called "info" and prints it. Here is the code.
#include <stdio.h>
void main()
{
FILE *fopen(), *fp;
int c ;
fp = fopen("info","r");
c = getc( fp ) ;
while ( c != EOF )
{ putchar(c)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.