Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!mit.eternal-september.org!.POSTED!not-for-mail From: Richard Newsgroups: comp.lang.c Subject: Re: coding dynamic allocation question Date: Sun, 20 Apr 2014 11:00:07 +0100 Organization: http://www.ieee.org/ Lines: 19 Message-ID: <87tx9ob9so.fsf@gmail.com> References: <17071705-cea4-49b5-b167-bde83daf7a92@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mit.eternal-september.org; posting-host="bdee7d74bb5599725cdba9fe2a37525e"; logging-data="22098"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18MdoZQ0NXVqf2pCdNYWvrMg7Uk1Zs8FAk=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:o+DcbZ7yTszFPu7+FIr2qFhdmLQ= sha1:icMqLtATvEA4oRVHFnaOMxhxCYg= Xref: csiph.com comp.lang.c:43168 "Bill Cunningham" writes: > Keith Thompson wrote: > >> Yes, you're changing the value of the int from 20 to 10 using a >> pointer. Yes, that's pointer manipulation. But it's not "pass by >> value". > > Ok so I'm not passing by value then. Then what exactly is passing by > value? Does it include pointer manipulation? > > Bill > Amazing. -- "Avoid hyperbole at all costs, its the most destructive argument on the planet" - Mark McIntyre in comp.lang.c