Message-ID: <33ABA2A0.539A@sysnetway.com.br> Date: Sat, 21 Jun 1997 18:45:04 +0900 From: Edevaldo MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Is this the normal behavior? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk It is more a C question than a DJGPP related one, but ... When I execute this program: #include int main( void) { int i; for( i=0; i<4; printf( "%i %i\n", i, i++) ); return 0; }; I was expecting it's output to be like 0 0 1 1 2 2 3 3 But, it was 1 0 2 1 3 2 4 3 Is this the normal behavior? In C the later arguments are evaluated first? The stack?