> >main() >{ > extern int i=100; > printf("%d",i); >} > >i get the error message. > Declaring variable's storage class as extern is allowed on file level and not on function level. Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/