---------- Forwarded message ----------
From: siva viknesh <[email protected]>
Date: Mon, Dec 13, 2010 at 8:45 PM
Subject: What would be the output of the following program..?
To: [email protected], [email protected]





int main()

{ int i=0;

while(+(+i--)!=0)

i-=i++;

printf("%d\n",i);

return 0; }


(a) -1 (b) 1 (c) -65535 (d) 0


Ans is option 'a'  .. but how?? anybody help plz?


-- 
Regards,
$iva




-- 
Regards,
$iva

-- 
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