0
Confusion in quiz!
I am trying to sort an array ascending int a[4] = {1,-2,3,-4} int *p = a int p = b; p = &a[a--] while ( pa <= pb ) { printf("%p",p++ } but it's looks like I created a huge mess 😅
2 ответов
+ 1
Just want to say tittle is unclear.
So i made a insertion sort only use pointers.
Insertion sort is good to sort few elements ( like 10 elements)
Here take a look:
https://code.sololearn.com/cH474lB5Nak5/?ref=app
0
OK that's what I was talking about but I want it not just in a few elements so I messed things up...
thanks 🙆