Today during my stroll through irc chat rooms , I came across
http://c-faq.com/expr/seqpoints.html
According to this expression like
i++ * i++
and
i = i++
all have undefined behavior in C.
I thought these were among those 'tricky' questions (when these
expressions were combined with printf functions) asked during
interview and definitely expected to be having very much defined
behavior!
I think according to them , their answer should be probably with
respect to gcc compiler.
Anyway have anyone come across this thing any time during their
programming days.. Please throw some light regarding this!
Thank You!
--
"Freedom is the only law".
"Freedom Unplugged"
http://www.ilug-tvm.org
You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For details visit the google group page:
http://groups.google.com/group/ilug-tvm?hl=en