C
Programming and Technical
Programming
Program
Consider the following program and what will be content of t?
#include
int main()
{
FILE *fp;
int t;
fp = fopen("DUMMY.C", "w");
t = fileno(fp);
printf("%dn", t);
return 0;
}
Options
1) size of "DUMMY.C" file
2) The handle associated with "DUMMY.C" file
3) Garbage value
4) Error in fileno()
Read Solution (Total 1)
-
- Answer :4
there is definition for fileno(fp) or no body for fileno(fp) - 8 years agoHelpfull: Yes(0) No(0)
C Other Question