-6

What is the meaning of this code?

typedef struct elmt *elmtaddress;
Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278

1 Answers1

1

It makes elmtadress an alias for struct elmt *. If you use this, you can type:

elmtadress myStruct;

instead of

struct slmt *myStruct;

Read more here: http://www.tutorialspoint.com/cprogramming/c_typedef.htm

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
klutt
  • 30,332
  • 17
  • 55
  • 95