Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!ll-xn!mit-eddie!husc6!cmcl2!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: void declarations and casts Message-ID: <6595@brl-smoke.ARPA> Date: Mon, 26-Oct-87 16:30:03 EST Article-I.D.: brl-smok.6595 Posted: Mon Oct 26 16:30:03 1987 Date-Received: Wed, 28-Oct-87 22:24:53 EST References: <359@targon.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 16 Keywords: void, casts, declarations, assignments In article <359@targon.UUCP> romke@targon.UUCP (Romke Teerenstra) writes: > My thoughts were : since void is a type, I can declare such a variable. RONG >So I can assign a value of that type to it. RONG >So I can cast something, say an integer, to it. TRUE While there are "void expressions", there are no "void variables". Once you have "voided" a value, you can't do anything else with it (except void it again).