1. Engineering
  2. Computer Science
  3. hi i wrote a program in c langrage that prints...

Question: hi i wrote a program in c langrage that prints...

Question details

Hi, I wrote a program in C Langrage that prints a matrix. the problem is I don't know how to write a function to check if the matrix is a distinct matrix or not.

Could you complete this to help me?

int​ ​isDistinctSquare​(​int​ numOfRows, ​int​ mat[][numOfRows])​{

​// provide the implementation

​return​ ​1​; ​// if the matrix has no duplicates all values are unique

}
  

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution