pointers to arrays

Doug Gwyn gwyn at smoke.BRL.MIL
Thu Feb 23 22:38:06 AEST 1989


In article <7806 at chinet.chi.il.us> les at chinet.chi.il.us (Leslie Mikesell) writes:
->>	int flimflam[20];
-Does this imply that pointer math and subscripting of the returned
-value is scaled by the size of the array? (i.e. would &flimflam + 1
-evaluate to the same address as flimflam + 20?)

In essence, yes.



More information about the Comp.lang.c mailing list