Https://ide.codingblocks.com/s/337730 segmentation fault

segmentation fault sudoku solver

@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.

https://ide.codingblocks.com/s/337988 still getting segmentation error

@guptarahul3100

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.

@guptarahul3100
There was an issue in the 8th line