moijes12
3/26/2011 8:01:00 AM
On Mar 25, 1:46 pm, Mark Bluemel <mark_blue...@pobox.com> wrote:
> On 03/25/2011 03:19 AM, moijes12 wrote:
>
>
>
> > Hi
>
> > I have a question regarding the for loop.
>
> > Suppose I write the below code :
>
> > #include<stdio.h>
>
> > int main(){
>
> > for( ; ; )
> > printf("Hello World\n");
>
> > return 0;
> > }
>
> > Now I am yet to try the above code but I assume the above code should
> > not have any output because there is no test expression.So the test
> > expression should evaluate to 0(False) rather than 1(True).
>
> What does your C reference book say this construct does?
>
> > Please let me know what you think of this.
>
> I'm half inclined to think you're a troll.
@Ben : Thanks.