Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!.POSTED!not-for-mail |
|---|---|
| From | Willem <willem@toad.stack.nl> |
| Newsgroups | comp.lang.c |
| Subject | Re: sequence points and printf() |
| Date | Thu, 1 Dec 2011 11:59:14 +0000 (UTC) |
| Organization | Stack Usenet News Service |
| Lines | 21 |
| Message-ID | <slrnjder0i.qjf.willem@toad.stack.nl> (permalink) |
| References | <4ed7195d$0$294$14726298@news.sunsite.dk> |
| NNTP-Posting-Host | toad.stack.nl |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Transfer-Encoding | 7bit |
| X-Trace | mud.stack.nl 1322740754 63337 2001:610:1108:5010::135 (1 Dec 2011 11:59:14 GMT) |
| X-Complaints-To | abuse@stack.nl |
| NNTP-Posting-Date | Thu, 1 Dec 2011 11:59:14 +0000 (UTC) |
| User-Agent | slrn/0.9.9p1 (FreeBSD) |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.c:14149 |
Show key headers only | View raw
arnuld wrote:
) OBJECTIVE: To know why its UB
...
) printf("%d %d %d\n",d, d+=c>='0'&& c<='9', c++);
...
) comma operator defined a sequence point and I see comma is present
) between printf() arguments but I am not sure if this "comma" is called as
) "comma operator" ?
This "comma" is definitely not called as "comma operator".
HTH, HAND.
SaSW, Willem
--
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
sequence points and printf() arnuld <sunrise@invalid.address> - 2011-12-01 06:06 +0000
Re: sequence points and printf() pacman@kosh.dhis.org (Alan Curry) - 2011-12-01 06:13 +0000
Re: sequence points and printf() Martin Ambuhl <mambuhl@earthlink.net> - 2011-12-01 02:19 -0500
Re: sequence points and printf() Keith Thompson <kst-u@mib.org> - 2011-12-01 06:55 -0800
Re: sequence points and printf() pete <pfiland@mindspring.com> - 2011-12-01 11:01 -0500
Re: sequence points and printf() "BartC" <bc@freeuk.com> - 2011-12-01 11:18 +0000
Re: sequence points and printf() Keith Thompson <kst-u@mib.org> - 2011-12-01 07:03 -0800
Re: sequence points and printf() Phil Carmody <thefatphil_demunged@yahoo.co.uk> - 2011-12-01 17:04 +0200
Re: sequence points and printf() lawrence.jones@siemens.com - 2011-12-01 09:59 -0500
Re: sequence points and printf() Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-12-01 20:48 -0500
Re: sequence points and printf() Seebs <usenet-nospam@seebs.net> - 2011-12-01 20:08 +0000
Re: sequence points and printf() Willem <willem@toad.stack.nl> - 2011-12-01 11:59 +0000
Re: sequence points and printf() Seebs <usenet-nospam@seebs.net> - 2011-12-01 20:08 +0000
Re: sequence points and printf() August Karlstrom <fusionfile@gmail.com> - 2011-12-01 23:17 +0100
Re: sequence points and printf() Keith Thompson <kst-u@mib.org> - 2011-12-01 14:35 -0800
Re: sequence points and printf() Kaz Kylheku <kaz@kylheku.com> - 2011-12-01 23:02 +0000
Re: sequence points and printf() James Kuyper <jameskuyper@verizon.net> - 2011-12-01 20:13 -0500
Re: sequence points and printf() Kaz Kylheku <kaz@kylheku.com> - 2011-12-02 02:09 +0000
Re: sequence points and printf() August Karlstrom <fusionfile@gmail.com> - 2011-12-03 17:23 +0100
Re: sequence points and printf() Vincenzo Mercuri <vincenzo.mercuri@hotmail.it> - 2011-12-09 18:33 +0100
csiph-web