Guest User

Untitled

a guest
Feb 22nd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. for (i=0;i<n;i++){
  2. for (j=0;j<n-1;j++){
  3. if (pointer[j]>pointer[j+1]){
  4. aux = pointer[j];
  5. pointer[j] = pointer[j+1];
  6. pointer[j+1] = aux;
  7. }
  8. }
  9. }
Add Comment
Please, Sign In to add comment