line 1 void func Rec int u char v line 2 ifu 0 coutSolution2






line 1 void func Rec (int u, char v) line 2 if(u 0) cout

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

 line 1 void func Rec (int u, char v) line 2 if(u 0) coutSolution28 . The array will be swapped Step -1 : 5 is swapped with 1 Step 2: 4 swapped with 2 3 remains

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site