Pointers and Arrays

Rick Genter rgenter at BBN-LABS-B.ARPA
Mon Jul 21 01:29:49 AEST 1986


     If a is declared as:

	int	a[10];

then &a is of type "pointer to array [10] of int", or

	(int (*) [10])

in cast terminology.  (Or at least it should be)

(Cdecl is wonderful).
--------
Rick Genter 				BBN Laboratories Inc.
(617) 497-3848				10 Moulton St.  6/512
rgenter at labs-b.bbn.COM  (Internet new)	Cambridge, MA   02238
rgenter at bbn-labs-b.ARPA (Internet old)	linus!rgenter%BBN-LABS-B.ARPA (UUCP)



More information about the Comp.lang.c mailing list