We have two arrays .merging them is simple.i want to know how can i sort then after that without declaring a single memory after that....
manalibhadula
0
Newbie Poster
Recommended Answers
Jump to PostState your question properly . And show us some code that you have tried to write...
Jump to PostWhen you merged the arrays, you used pointers or indeces (int's usually), to help you do the merge.
Now, you can use that pointer or index, to temporarily hold (or point to) a value - now any of several in-place sorters will do what you want.
All 6 Replies
csurfer
422
Posting Pro
Adak
419
Nearly a Posting Virtuoso
manalibhadula
0
Newbie Poster
super-sonic
1
Newbie Poster
manalibhadula
0
Newbie Poster
Unimportant
18
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.