#define while(x) while(1)

Cheers,
-Bala



On Wed, Sep 5, 2012 at 7:45 AM, Shashank Jain <[email protected]> wrote:
> Here is a question...and i am badly stuck at it
>
> how would you get into the loop
>
> int main()
> {
>
>      while ( 0)
>      {
>            printf("hello");
>
>      }
> return 0;
> }
>
>
> You cannot change the while loop and its condition and you have to print
> "hello"
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to