Review Game Zone
Games
Test
Preview
Back
Match it!
Match it! Select the correct answer from the pull down...Good luck!
The variable declaration for a file pointer is
NULL
FILE*fp;
while
fscanf()
for
fclose(fp);
feof(fp);
do
The statement to read data from a file is
NULL
FILE*fp;
while
fscanf()
for
fclose(fp);
feof(fp);
do
An example of a bounded loop is the
NULL
FILE*fp;
while
fscanf()
for
fclose(fp);
feof(fp);
do
Which statement checks for the end of a file?
NULL
FILE*fp;
while
fscanf()
for
fclose(fp);
feof(fp);
do
An example of an unbounded loop is the
NULL
FILE*fp;
while
fscanf()
for
fclose(fp);
feof(fp);
do
Which closes a file?
NULL
FILE*fp;
while
fscanf()
for
fclose(fp);
feof(fp);
do
The value assigned to the file pointer when there is an error in reading a file is
NULL
FILE*fp;
while
fscanf()
for
fclose(fp);
feof(fp);
do
Which loop tests the condition before executing any statements ?
NULL
FILE*fp;
while
fscanf()
for
fclose(fp);
feof(fp);
do
Check it!