C-FAQ #1227
Avinash Narwekar
03:44s300 comment
STDIO I wrote a function to open a file, and called it. But it didn't work. Here is the code I used : openfile (char *fname, FILE *fp) { fp = fopen (fname, "r"); } main () { FILE *fp1; openfile ("xyz.dat", fp1); }
Link
Social
Embed code