Questions tagged [reverse-array]

1 questions
-7
votes
3 answers

Print a given Integer Array and then Print the Reverse of that in C#

The Given Array is: int[] arr = new int[] { 1, 2, 3, 4, 5, 6 }; It's output should be : Print Original Array:1,2,3,4,5,6 Print reversed Array: 6,5,4,3,2,1
Rinku Choudhary
  • 1,529
  • 1
  • 13
  • 22