in fy2 , the variable arr[10] has not been declared and hence it should display error message while compiling
Thanks Kumar Anurag On Wed, Oct 24, 2012 at 11:06 PM, rahul sharma <[email protected]>wrote: > int arr[10] // in fyl 1 > > now in fyl 2 > > extern int *arr > void foo() > { > arr[0]=10; > } > what kind of problem can be there?in what condition and y? > > plz comment > > -- > 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. > -- Kumar Anurag -- 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.
