jdoodle.cpp: In function ‘int main()’:
jdoodle.cpp:39:23: error: cannot convert ‘int ()[2]’ to ‘int**’
39 | int c=fun(n,0,dp)+fun(n,1,dp);
| ^~
| |
| int ()[2]
Problem in passing 2d array
Can you please elaborate your query.