void listFile( FILE * fp )
{
int c;
while( c = fgetc(fp) != EOF )
{
printf(“%d”, c);
}
printf(“\n”);
}
a. ABC1
b. 1111
c. The characters AB followed by an infinite number of C characters
d. 6566671
e. 0001
Learn C programming skills, test your c skill. C Interview questions.
No comments:
Post a Comment