I am solving problems on online judge like Leetcode and I wonder if it' possible to get size of a 2d array given int**A. Consider the function,
int help(int** A){
int rows = sizeof(A)/sizeof(A[0]);
int columns = sizeof(A[0])/sizeof(A[0][0]);
}
But I am not getting the correct values of rows and columns. Is there a way to get sizes of a 2d array if I only have int** A. Same question for char** A. I know that the question is poorly framed but I am a beginner in C. Thank you.