thekashyap
Practically a Posting Shark
811 posts since Feb 2007
Reputation Points: 254
Solved Threads: 75
First question: int iaArray[rand()%10]; doesn't initialize the array elements so what you see is junk.
Second question: How do you want to sort it? I can't imagine how do you define asorted matrix.
thekashyap
Practically a Posting Shark
811 posts since Feb 2007
Reputation Points: 254
Solved Threads: 75