i) [Linker error] undefined reference to `a' ii) 4
On 7/3/11, HARSH PAHUJA <hpahuja.mn...@gmail.com> wrote: > 1) > #include<stdio.h> > int main() > { > extern int a; > a=20; > printf("%d",sizeof(a)); > return 0; > } > > 2) > #include<stdio.h> > int main() > { > extern int a; > printf("%d",sizeof(a)); > return 0; > } > > > > -- > HARSHIT PAHUJA > M.N.N.I.T. > ALLAHABAD > > -- > 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. > > -- *Piyush Sinha* *IIIT, Allahabad* *+91-8792136657* *+91-7483122727* *https://www.facebook.com/profile.php?id=100000655377926 * -- 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.