No error in gcc 4.3.2 too On Thu, Jul 28, 2011 at 2:47 PM, Rohit Srivastava <access2ro...@gmail.com>wrote:
> no error in dev c++......... > > > On Thu, Jul 28, 2011 at 2:43 PM, Piyush Kapoor <pkjee2...@gmail.com>wrote: > >> 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. >> > > -- > 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 Rajeev N B <http://www.opensourcemania.co.cc> "*Winners Don't do Different things , they do things Differently"* -- 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.