deo sharma <[EMAIL PROTECTED]> writes:
>           can youn please explain where exactly is memory
>      allocated for the external variables.is it allocated where
>      it has been stored or it is where it has been used.moreover
>      to use external variables you use extern statements and not
>      #include statements.

No memory is allocated to extern variables.. By specifying some
variable as extern, we just make the compiler to treat that symbol
as existing in some other file. But we need to specify that a
variable is extern, so that any manipulation of that variable
would be done correctly.

-- 
.O. A proud GNU user
..O http://www.joesteeve.tk/
OOO http://gnukid.5gigs.com/

Attachment: pgpNChNrDbGXG.pgp
Description: PGP signature

Reply via email to