Sir, this code is compling successfully but not printing any output plz check and mark error!
still not print any output

whereve u are accesing j+1,i+1,j-1 or i-1
u need to make sure that they r valid. so add condtion to check whether they r valid or not
but i think we have checked those position by if condition
no pls check this->
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
