Re: for(;0;) printf("he llo");
Spidey wrote:
this could happen if some malicious person went into your stdio.h file
(which you probably included but didnt show) and they added a line
something like: #define for(x).
Either that or the compiler is incorrectly optimizing the code and
somehow falling thru the code the first time.
Spidey wrote:
for(;0;)
printf("hello") ;
>
even the condition s wrong i get a hello printed on the screen
y s this happening
printf("hello") ;
>
even the condition s wrong i get a hello printed on the screen
y s this happening
(which you probably included but didnt show) and they added a line
something like: #define for(x).
Either that or the compiler is incorrectly optimizing the code and
somehow falling thru the code the first time.
Comment