I am learning at the moment about pointers and lists. I had one question about the typedef keyword.
typedef int data;
typedef struct nodo *lista;
struct nodo {
data el;
struct nodo *next;
};
If I write down:
lista l;
Is l
a pointer or a struct type. I want to know the part typedef struct nodo *lista;
defines lista
to be a pointer of struct type or a struct?