Actions

EmSys

C - Pointers and Arrays4

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 and Arrays ...

  • If pa is a pointer, expressions may use it with a subscript; pa[i] is identical to *(pa+i)
  • When an array name is passed to a function, what is passed is the address of the initial element. With in the called function, this argument is a local variable pointer.