> but how "comma" is evaluated and the value assigned to variable 'c' is the
> expression evaluated on the RHS of comma....is there any such rules in C ??
generally for comma separated value the compiler ignores all values to
the right of first comma.
eg. in above case  c=--a,b++ - c;
     the compiler just evaluates the values after first comma(b++ - c)
but uses only c = --a for assignment purpose.

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to