Driver code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT arr = [ 1 , 2 , 3 , 4 , 5 , 6 ] NEW_LINE n = len ( arr ) NEW_LINE print ( * arr ) NEW_LINE revereseArray ( arr , n ) NEW_LINE print ( " Reversed ▁ array ▁ is " ) NEW_LINE print ( * arr ) NEW_LINE DEDENT