Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!pasteur!ucbvax!techunix.BITNET!ssreefc From: ssreefc@techunix.BITNET (florin coter) Newsgroups: comp.lang.c Subject: C error which worked fine Message-ID: <7631@techunix.BITNET> Date: 9 Feb 89 11:51:16 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: Technion - Israel Inst. Tech., Haifa Israel Lines: 14 hello world. i wrote the following WRONG code: .. FILE *open(), *fp; int close(); fp = fopen(...); fprintf( fp, ...); fclose(fp); .. i used turboc 1.5. all went fine (no error note), untill i read the error. the undeclared fopen sould have been assumed of type int and not FILE *... so why did it work ok? thanks, florin.