can you plz explain how it happens ...as valid macro names  must not be key
words.

On Wed, Sep 5, 2012 at 6:24 PM, Shashank Jain <[email protected]>wrote:

>
> it works
> thanks for your reply
>
>
>
> On Wed, Sep 5, 2012 at 6:19 PM, Bala <[email protected]> wrote:
>
>> #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.
>>
>>
>

-- 
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