On 9/30/06, L7 <[EMAIL PROTECTED]> wrote:
>
>
> [snip]
>
> > > There is no nesting there.
> > no nesting? what about this?
> > /* /* */ allowed=0; // */
> >
>
> /* /* */ constitutes a single comment
>
> //  */ constitutes a second comment
>
> Remove the // and you will be testing the nesting
>
Deciding which ones are comments depends on compiler.

If you interpret them as two separate comments, then allowed=0 will run
and it means that compiler does not allow.

If compiler allows nested comments then it should interpret them
as two "nested comments", one inside another

 /* (start of first comment)
/*  (second comment inside another) */
 allowed=0; // */ (first comment ends here)

in this case, allowed=0 will not run!


>
> >
>

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

Reply via email to