On 9/30/06, L7 <[EMAIL PROTECTED]> wrote:
>
>
> Atamyrat Hezretguliyew wrote:
> > #include<stdio.h>
> > int main()
> > {
> >     int allowed=1;
> >     /* /* */ allowed=0; // */
> >     printf( allowed ? "yes\n" : "no\n" );
> >     return 0;
> > }
> >
> > Above code is not correct ANSI C code, but I think, you can
> > compile it with most of compilers and check if it supports nested comments.
> >
>
> No you cant.
As I said, it COMPILES with one of most popular C compilers and prints no.
I do not have time to try it with each compiler.

> There is no nesting there.
no nesting? what about this?
/* /* */ allowed=0; // */

>

>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com
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