It is not showing compiler error on Codeblocks on my machine.

On Thu, Jul 28, 2011 at 2:26 PM, prabhat <prabhat0...@gmail.com> wrote:

> i think there will be warning due to inner structure is not declaring
> variable.
> Inner structure must be like:
> struct yy
> {
> char s;
>        struct xx *p;
> }a;
>
> On Jul 27, 9:22 pm, Aman Goyal <aman.goya...@gmail.com> wrote:
> > #include‹stdio.h›
> > main()
> > {
> > struct xx
> > {
> > int x;
> > struct yy
> > {
> > char s;
> >         struct xx *p;
> >
> > };
> > struct yy *q;
> > };
> > }
> >
> > ouput: compiler error.
> >
> > Any logical reasons?
>
> --
> 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
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>


-- 
*Regards,*
*Piyush Kapoor,*
*CSE-IT-BHU*

-- 
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 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to