code:https://ide.codingblocks.com/s/120499
getting wrong answer in 4th test case?
Rat in a maze-doubt
@dvitiarora You must initialize the output matrix before with 0 else some of the matrix positions may hold some garbage values. If the integer matrix was declared global or static then by default it would hold 0 but in this case it is neither global nor static so initializing is mandatory.
