i am not able to get whats the error
code link:https://ide.codingblocks.com/s/96224
Not able to get error
Run time error is coming because you are not taking input properly . Try to take input of row , col , elements of matrix and number to be searched into the same function . You can directly take them into main method .