This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
global vs static
- From: Y Khan <ykhanportland at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 2 Oct 2006 09:45:57 -0700 (PDT)
- Subject: global vs static
Hi,
I want to access a variable in a function and whose
value doesn't change when I re-enter the function. I
will be using that variable in that function only. I
have two options - global or static. Which one is
better?
Ykhan
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com