2

-----Original Message-----
From: Sebastian Voges [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 24, 2003 12:16 PM
To: Palm Developer Forum
Subject: offtopic: who can figure out this for loop


Not really PalmOS related, but hey you can run it on your Handheld:

  int x = 1;
  for( int i = 0; i < 100; ++i );
    // What will the next line do? Increment???????????/
    ++x;
  

what's the value of x after this code ran on a standard c++ compiler?



Sebastian

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


------------------------------------------
The information in this transmittal and any attachments are confidential and intended 
only for the recipient(s) listed above. You are hereby notified that any unauthorized 
distribution or copying of this transmittal or its attachments is prohibited. If you 
have received this transmittal in error, please notify invivodata immediately at (831) 
438-9550.
------------------------------------------



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to