Why should we typedef a struct so often in C?
Posted
by Manoj Doubts
on Stack Overflow
See other posts from Stack Overflow
or by Manoj Doubts
Published on 2008-10-31T07:14:03Z
Indexed on
2010/05/29
7:22 UTC
Read the original article
Hit count: 161
I have seen many programs consisting of structures like the one below
typedef struct
{
int i;
char k;
} elem;
elem user;
I have seen this many times. Why is it needed so often? Any specific reason or applicable area?
© Stack Overflow or respective owner