Since array size is 7 , elements should be from 0 to 48
arr = [ 40 , 12 , 45 , 32 , 33 , 1 , 22 ] NEW_LINE n = len ( arr ) NEW_LINE print ( " Given ▁ array ▁ is " ) NEW_LINE print ( * arr ) NEW_LINE sort ( arr , n ) NEW_LINE print ( " Sorted ▁ array ▁ is " ) NEW_LINE print ( * arr ) NEW_LINE