Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!brl-tgr!tgr!MLY.G.SHADES%MIT-OZ@MIT-MC.ARPA
From: MLY.G.SHADES%MIT-OZ@MIT-MC.ARPA
Newsgroups: net.lang.c
Subject: C declarations
Message-ID: <8306@brl-tgr.ARPA>
Date: Wed, 13-Feb-85 04:06:06 EST
Article-I.D.: brl-tgr.8306
Posted: Wed Feb 13 04:06:06 1985
Date-Received: Thu, 14-Feb-85 03:15:59 EST
Sender: news@brl-tgr.ARPA
Organization: Ballistic Research Lab
Lines: 29


	the declaration:

	funct()
	{
		type var[];
	...
	}

is declaring a null array (probably one element actually allocated).
using the name var will produce a constant(!) address/ptr to this
mythological location.

	the declaration:

	funct()
	{
		type *var;
		...
	}

allocates a location var the contents of which is a ptr to type.
using var returns the contents of the location which can then be used
as the ptr to the variable pointed to.

	does this help define the usage of var[] and *var more
clearly?  i hope so.

                      shades%mit-oz@mit-mc.arpa