Counting the available maze paths using dp (3 moves)

its showing wrong answer…what’s wrong in my code

@Narasimha,

https://ide.codingblocks.com/s/229055 corrected code.

Error:add a[i+1][j+1] instead of 1