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

Recommended Answers

OK, I just finished writing them. Now what?

Jump to Post

All 2 Replies

OK, I just finished writing them. Now what?

commented: you can share them right +0

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.