On Fri, Jul 9, 2010 at 3:50 AM, RIDER <[email protected]> wrote: > if c is procedural language then why declaring variable any where > works by gcc compiler?according to procedural property declaration > should only be at top ? > > > void main(){ > int c=1; > printf("%d",c); > int d=5; > printf("%d",d); > > return; > } > why this work in c? >
//********************************************** C is a procedural language but implementation depends on Compiler to Compiler ,some specific case as in Loop declaration not allow in prantheshes .................................. > > -- > 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]<algogeeks%[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.
