fork download
  1. void bubblesort(int a[], int low, int high)
  2. {
  3. int i, j, temp;
  4.  
  5. for (j = high; j > low; j--) {
  6. for (i = low+1; i <= j;i++) {
  7. if (a[i] < a[i-1]) {
  8. temp=a[i];a[i]=a[i-1];a[i-1]=temp;
  9. }
  10. }
  11. }
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/usr/lib/gcc/i586-linux-gnu/4.9/../../../i386-linux-gnu/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: error: ld returned 1 exit status
stdout
Standard output is empty