Consider an array of float. Calculate the difference between the address of the 1st and 4th element, assuming float occupies 4 bytes of memory.

Consider an array of float. Calculate the difference between the address of the 1st and 4th element, assuming float occupies 4 bytes of memory.

  1. a) 12
  2. b) 4
  3. c) 16
  4. d) 8

From the BUET MSC (ICT) July 2021 – MCQ exam, question 34 of 57.

More from this paper