Which for loop has the same range of indexes of 'i' as used in for (i = 0; i < n; i++)?

Which for loop has the same range of indexes of 'i' as used in for (i = 0; i < n; i++)?

  1. a) for (i= n; i>0; i--)
  2. b) for (i=n-1; i>0; i--)
  3. c) for (i = 0; i = 0; i--)
  4. d) for (i=n-1; i>-1; i--)

From the Combined Bank Officer (IT) October 2024 – Preliminary (BIBM) exam, question 83 of 95.

More from this paper