ProgrammingModerate

The largest gap between consecutive values of the sorted list 1, 4, 9, 16 is which value?

  1. A. 5
  2. B. 7
  3. C. 8
  4. D. 12

Correct answer: B. 7

The consecutive differences are 3, 5 and 7, and the largest is 7, between 9 and 16.

More C Programming questions

Exams that ask this topic