segmentation fault sudoku solver
Https://ide.codingblocks.com/s/337730 segmentation fault
@guptarahul3100
There was a issue in isPoss function.
for(int a = x ; a < x+rn ; a++){
for(int b = y;b < y+rn;b++){
if(sud[a][b] == num) return false ;
}
}
Do not use i and j for the loops. Instead use a and b because i and j are the functional arguments.
If my answer was able to resolve your query, please mark the doubt as resolved.
Should work now. You performed an error in increment.
If my answer was able to resolve your query, please mark the doubt as resolved.
can u mention the line number in which there is a issue.