What will be the resulting array after rotating arr[]={1, 2, 3, 4, 5} by 2?
(a) 2, 1, 3, 4, 5
(b) 3, 4, 5, 1, 2
(c) 4, 5, 1, 2, 3
(d) 1, 2, 3, 5, 4
I need to ask this question from Arrays Types topic in portion Arrays Types of Data Structures & Algorithms I
The question was posed to me in a national level competition.