[Dev-C++] Why thisC example don't presents the correct result ?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <hu...@cl...> - 2003-12-11 14:21:04
|
Hi all, <br>in others compilers this is the result : <br> <br>10 <br>200 <br> <br>of this program : <br>#include <stdio.h> <br>main<img src="http://pcp.clix.pt/images/canais/webmail2/smile/kiss.gif"> <br>{ <br>int v[3],i; <br>v[0]=10; <br>v[1]=200; <br>i=0; <br>while(v[i]!='\0') <br>{ <br> printf("%d\n",v[i]); <br> i++; <br>} <br>} <br> <br>in dev-c++compiler i have the this result : <br>10 <br>200 <br>2293664 <br>4198592 <br>4210688 <br>4210692 <br>2293664 <br>4198757 <br>1 <br>4138088 <br>4139640 <br>4198553 <br> <br> <br>Why ????? <br> <br>Thanks.<p>--<br>Hugo Dias<br> <p>Clix Rapidix - Aumente até 6X a velocidade da sua Internet Adira em http://acesso.clix.pt e comece logo a navegar<br> |