I think those two post cover everything the OP asked for. Not much needed to be done with the swap function in the tutorial to make it sort in acending or decending order. If the OP can't read that...
Type: Posts; User: tiaratt
I think those two post cover everything the OP asked for. Not much needed to be done with the swap function in the tutorial to make it sort in acending or decending order. If the OP can't read that...
Pointers
Objectives:
Having read this section you should be able to:
1.program using pointers
2.understand how C uses pointers with arrays
Courtesy of the Dev C\C++ help files.
Arrays
Objectives:
Having read this section you should have a good understanding of the use of arrays in C.