Actions

EmSys

C - Pointers3

From EdWiki

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

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

Pointers ...

  • Every pointer points to a specific data type.
  • A “pointer to void” is used to hold any type of pointer but cannot be de-referenced itself.
  • Pointer arguments enable a function to access and change variables in the function that called it.
  • Pointers and integers are not interchangeable.
  • The constant zero (NULL) may be assigned to a pointer, and a pointer may be compared with the constant zero.