I have to write a program for sorting two dimensional array(e.g. Matrix) without converting it into a single dimensional array or using pointer concept. So, can u please give me any idea for writing this program?
cutedipti, order (or ordering) relation is not the same thing as order of matrix in mathematics ;) Only square matrix has an order, arbitrary matrix have dimensions.
Now you define (by example) desired ordering relation.
If the user enters matrix dimensions, what's your method to create MxN matrix?