Madhukar mythri wrote: > > yeah u r correct only as per books.... > but, comming to praticle... > how ever we have to include the file know.... > if we don't declare as extern type also we can access > the variable in other files.... > > So, please tell me any praticle difference > where extern type declaration is compulsory.... When we talk of two files and implementation of "extern" then the two c files would be compiled individually and linked. They are not meant to be included in the other one.
e.g. gcc -o a.o a.c gcc -o b.o b.c Kapil -- PS: 1. Google: Feel free to Google before posting. http://www.google.com 2. Posting: I suggest the group members to avoid top posting, as this pushes the original question to the bottom. While any body would prefer to have the main question at the top, and subsequent replies added to the bottom, so that it is easy to comprehend the flow of information. 3. Do not Hijack threads. If you need to ask a fresh question, do a little effort of moving mouse to the New or Compose button instead of Reply. Do not start a New message or thread by hitting "Reply" in your mail client and changing the subject. When you do this, you mess up other participant's ability to read mail in a threaded fashion. 4. HTML Mail: HTML is not email, and email doesn't contain HTML, so please turn HTML formatting OFF in your email client. Please Do not use italics, colors, bold, fonts, pictures, sounds, or other HTML elements. Please use only 7-bit text when sending email to the lists. Thanks ------------------------ Yahoo! Groups Sponsor --------------------~--> $4.98 domain names from Yahoo!. Register anything. http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/EbFolB/TM --------------------------------------------------------------------~-> To unsubscribe : [EMAIL PROTECTED] Yahoo! Groups Links <*> To reply to this message, go to: http://groups.yahoo.com/group/Programmers-Town/post?act=reply&messageNum=4855 Please do not reply to this message via email. More information here: http://help.yahoo.com/help/us/groups/messages/messages-23.html <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Programmers-Town/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
