Posts by Marcus Vinicius • 3 points
1 post
-
0
votes1
answer51
viewsQ: Why use a pointer to struct instead of the struct itself in this case?
Why, in the struct GERENTE and CLIENTE, I have to use a pointer to the struct PESSOA and not the struct PESSOA typedef struct{ char* nome; int cpf; } PESSOA; typedef struct{ PESSOA* pessoa; int…