Question: Which statement reverses vector `a`?

  1. reverse(a)
  2. a(end:- 1:1)
  3. rev(a)
  4. a(::-1)

Answer: The correct answer of the above question is Option B:a(end:- 1:1)