Momchil Velikov <velco@fadata.bg> wrote: [...] >For example, ``y = x++ ?: 2;' is defined, while ``y = x++ ? x : 2;'' >invoked undefined behavior. No. The '?' is a sequence point: http://www.vmunix.com/~gabor/c/draft.html#515 Bernd -- Bernd Petrovitsch Email : bernd@gams.at g.a.m.s gmbh Fax : +43 1 205255-900 Prinz-Eugen-Straße 8 A-1040 Vienna/Austria/Europe LUGA : http://www.luga.at -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/