Report Bug

QusTo reverse the order of elements in an array, the algorithm must swap elements between: QusArray elements को reverse order में rearrange करने के लिए algorithm को किन elements के बीच swap करना चाहिए?


A. Adjacent indices
B. First and last, second and second-last, etc.
C. Random indices
D. Even indices only


Solution
B. First and last, second and second-last, etc.



Explanation
Reversal is achieved by repeatedly swapping elements from opposite ends.

Array reverse करने के लिए first-last, second-second-last आदि elements swap किए जाते हैं।
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad