Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!brl-adm!brl-smoke!smoke!rbj@icst-cmr From: rbj@icst-cmr (Root Boy Jim) Newsgroups: net.lang.c Subject: Re: Fun with * and & Message-ID: <1724@brl-smoke.ARPA> Date: Thu, 26-Jun-86 16:42:43 EDT Article-I.D.: brl-smok.1724 Posted: Thu Jun 26 16:42:43 1986 Date-Received: Mon, 30-Jun-86 05:28:13 EDT Sender: news@brl-smoke.ARPA Lines: 11 > Just a quick remark. When I was learning C, I understood that "*pi" > meant "the contents of pi," but somehow had difficulty conceptualizing > why the declaration "int *pi;" declares pi as a pointer to an int; > that is, I knew it was a convention I had to memorize, but it didn't > seem mnemonic to me. It may help to look at as a declaration that (*p) is an int. Therefore, you can infer that p is a pointer to an int. See K&R, page 90. (Root Boy) Jim Cottrell Hold the MAYO & pass the COSMIC AWARENESS...