int main(){ my(1); printf("-----------------------\n"); test(); //test2(); printf("-----------------------\n"); test3(); printf("-----------------------\n"); test4(); printf("-----------------------\n"); testswap(); printf("-----------------------\n"); test5(); printf("-----------------------\n"); test6(); return 0; }
void solve() { testswap(); int A[] = { 5, 4, 3, 2, 1 }; printarray(A, 5); bubblesort(A, 5); }