Actions

EmSys

C - Typedef4

From EdWiki

Revision as of 09:31, 23 June 2015 by Jshankar (Talk | contribs) (1 revision imported: EdWiki -- Emsys pages from Shukra)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.