There Is One Small Error In The Following Flip Routine Find Out #960

There is one small error in the following flip routine. Find out which line it is on. </p> <pre><code class="language-java"> 1 void flip(int arr[], int i) 2 { 3 int t, init = 0; 4 while (init < i) 5 { 6 t = arr[init]; 7 arr[i] = arr[init] ; 8 arr[i] = t; 9 init++; 10 i--; 11 } 12 } </code></pre>

Online Quiz This multiple choice question (MCQ) is related to the book/course gs gs122 Data Communication and Computer Network. It can also be found in gs gs122 Sorting - Pancake Sort - Quiz No.1.


Similar question(s) are as followings:



Online Quizzes of gs122 Data Communication and Computer Network

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background