Mon Mar 24 20:31:48 IST 2014 real 0m0.003s user 0m0.000s sys 0m0.000s real 0m0.003s user 0m0.000s sys 0m0.000s real 0m0.003s user 0m0.000s sys 0m0.000s real 0m0.003s user 0m0.000s sys 0m0.000s real 0m0.003s user 0m0.000s sys 0m0.000s
Daily Archives: March 25, 2014
BUBBLE SORTING USING C CODE
/* bubblesort ported to c by Jeffrin Jose T <ahiliation@yahoo.co.in> from bubble.php by detour@metalshell.com License : GPL. */ #include<stdio.h> #include<stdlib.h> main() { int array_size=400; int ran[1000]; int x,y,hold; for(x = 0; x < array_size; x++) ran[x]= rand(); for(x = 0; x < array_size; x++) { for(y = 0; y < array_size; y++) { if(ran[x] < …
Bubble Sort Using C with array size 300
Sun Mar 23 21:34:32 IST 2014 real 0m0.002s user 0m0.000s sys 0m0.000s real 0m0.002s user 0m0.000s sys 0m0.000s real 0m0.001s user 0m0.000s sys 0m0.000s real 0m0.002s user 0m0.000s sys 0m0.000s real 0m0.002s user 0m0.000s sys 0m0.000s