Write a program to sort an array of integers in ascending order by using pointers
Write a program to sort an array of integers in descending order by using pointers
Write a program to sort an array of integers in ascending order by using pointers
Write a program to sort an array of integers in descending order by using pointers
OK, I just finished writing them. Now what?
I cheated and used the sort() function since it's part of the standard library.
Since the job is to write a program to sort, that looks rather basic as we don't have to create the actual sort code since, it's already done for us.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.