I'm trying to learn c++, I started working with Two Dimensional Arrays. I decided to begin with simple - fill and print functions. I have done it before with a one-dimensional array, but I have a little problem with it now. I can see "|35|error: cannot convert 'int (*)[10]' to 'int**'|" error Thats my code
#include <iostream>
#include <cmath>
#include <time.h>
#include <cstdlib>
using namespace std;
void Fill(int ** T, int x, int y){
srand(time(NULL));
    for(int i = 0; i<y; i++){
        for(int j = 0; j<x; j++){
            T[i][j] = rand()%100;
        }
    }
}
void Print(int ** T, int x, int y){
    for(int j = 0; j<y; j++){
        for(int i = 0; i<x; i++){
            cout<<T[i][j]<<" ";
        }
        cout << endl;
    }
}
int main()
{
int T[10][10];
Fill(T, 10, 10);
Print(T, 10, 10);
}
What did i wrong ? Did I give arguments correctly ?
 
     
    