Circularity doubt

hi!!!
Someone can help me ....
1
2
3
4
5

struct nodo{
                   int dado;
                   struct no* prox; //  used struct ...?
};


is not the same ?
1
2
3
4
5

struct nodo{
                   int dado;
                   no* prox; 
};


thx
It depends on language standard and context.

In C, it is required.

In C++, it is only required to disambiguate.

Try it without. If the compiler complains, put it back in.

Hope this helps.
so simple !!!

Tested !!!

Duoas, thanks.....
Topic archived. No new replies allowed.