I wanted to know how to access a certain element of a struct in the way I'm defining it. Here is my struct:
typedef struct {
char *produtos[200000];
int contador;
} Produtos,*ProdutosP;
I set ProdutosP p
as a pointer to the struct. I added the first string of char *produtos[200000]
using p->produtos[0]
but I wanted to access the first string of the first string.
How do I get it?