when i make a array (suppose array[10][10]), so when i am passing it to the function(in function definition) as **array then its giving error, why is it happening?
2d array doubt(pointers)
@sktg99 the name of the 2d array is not a pointer to pointer, that is reason you’re getting an error. The name of the array is a single pointer only. The correct way to pass a 2d array is
arr[][columnNumber] and not **arr.
Hope this helps.