New Types
New Types
- The most common use of structures is to declare new types as in the following example.
typedef struct abc
{
int a,b;
long c;
}
MYNEWTYPE, *MYPTR;
MYNEWTYPE MyVariable;
type of
struct abc
pointer to
a struct abc
variable
declaration