Hi, im confused about the use of the keyword typedef, the question is, when do i have to use it?
and whats the difference between declaring structure variables in this way:
and this way:Code:struct book { ........ ........ }; struct book b1, b2... ecc; // or struct book { ...... ....... } b1, b2....ecc;
Thanks!Code:struct book { ...... ...... }; typedef struct book b1, b2..... ecc;