Actions

EmSys

C - Typedef4

From EdWiki

Typedef ...

  • Variables declared this way have exactly the same properties as variables whose declarations are spelled out exactly, in other words, there are no new semantics.
  • If typedefs are used for data types that may be machine-dependent, only the typedefs need change when the program is moved.
  • typedefs provide better documentation for a program.