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
a b c d e
No comments:
Post a Comment