"Aman Sharma" <[EMAIL PROTECTED]> wrote---
[...]
> Now I wanna logical clearance of some issue in
Linux.
> Take the case of PHP.
> A program contains the sequence of following three
> statements:-
$i=5;
$i=$i++;
[...]
Don't know about PHP, but since you seem also to be
expecting the same to work in C, the value of i after
the equivalent of the above statement is undefined,
due to the lack of a sequence point. I.e., neither 5
nor 6 is ruled out by the standard. For details, read
the comp.lang.c FAQ. Then, do us all a favour, and
take any code written by the so-called programmer who
penned the above, and indent it six feet deep.
Regards,
Gora
__________________________________________________________
Enjoy this Diwali with Y! India Click here
http://in.promos.yahoo.com/fabmall/index.html
_______________________________________________
ilugd mailinglist -- [email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
http://www.mail-archive.com/[email protected]/