Which of the following seek operations positions the file to the third integer in a file of integers?

A. fseek(spFile, sizeof(int), SEEK_SET);
B. fseek(spFile, sizeof(int) * 1), SEEK_SET);
C. fseek(spFile, sizeof(int) * 2), SEEK_SET);
D. fseek(spFile, sizeof(int) * 2), SEEK_CUR);
E. fseek(spFile, sizeof(int) * 2), SEEK_CUR);

Answer: C

Computer Science & Information Technology

You might also like to view...

The view used to present information to an audience is ________ view

Fill in the blank(s) with correct word

Computer Science & Information Technology

__________ is the component that manipulates data.

a. Memory b. The processor c. Main memory d. The bus

Computer Science & Information Technology