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...

Cascading Style Sheet rules are comprised of:

a. Selectors and Declarations b. Properties and Declarations c. Selectors and Attributes d. None of the above

Computer Science & Information Technology

In JavaScript, the relational test, birth_year > 1944 && birth_year < 1965, is

a. true if birth_year is 1952 b. true if birth_year is less than 1965 c. false if birth_year is greater than 1944 d. none of the above

Computer Science & Information Technology

Arrays with more than two dimensions are not commonly used in C++.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The monthly interest rate is determined by dividing the annual interest rate by 12 ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology