[SOLVED] About pointers

Hello C++ is quit hard to understand and I don't know how to create a pointer on 2D arrays. For example:

int tab[2][2]; //Array 2x2

int *p=tab[1];
p[0]=3;
 
Serial.println(tab[1][0]); //= 3

How to have a pointer to the array so that I can write p[1][0]=3. My goal is to send a pointer to a function that can modify the array ?

Here ya go: How to dynamically allocate a 2D array in C? - GeeksforGeeks

thank you, I'm going to study this... And about a pointer on a array that is inside a structure, is it possible?

Yes

ok, cool, thank you!