file - null type and compiler error in c -
I have used an online compiler to compile the following code, and it puts an error which says: "Undesired undeclared (first use in this function)" I do not understand where the problem is, as I thought we do not need to declare zero.
int main (int argc, char * argv []) {FILE * f; F = fopen (argv [1], "r"); Four strings [17]; While (fgets (string, 17, f)! = Null) {........
Comments
Post a Comment