line 1 void func Rec int u char v line 2 ifu 0 coutSolution2
Solution
28 . The array will be swapped
Step -1 : 5 is swapped with 1
Step 2: 4 swapped with 2
3 remains as it is.
Output will be :-
5 4 3 2 1

28 . The array will be swapped
Step -1 : 5 is swapped with 1
Step 2: 4 swapped with 2
3 remains as it is.
Output will be :-
5 4 3 2 1
