Form Biggest Number Question

Here is the code :- https://ide.codingblocks.com/s/411733, Please tell what is the error in the code. Showing some segmentation fault.

Hey @Sakshi2004


Hit a like if this resolves ur query :slight_smile:

Thanks for solving the query. Pease do find the errors in this way used also :- https://ide.codingblocks.com/s/411752

Hey @Sakshi2004

          string ij = to_string(a[i]) + to_string(a[j]);
          string ji = to_string(a[j]) + to_string(a[i]); //updated this  a[j] and then a[i]