• Answers
  • Web
Originated from
QueryCAT

Difference b/w global,automatic and static variables

What is a difference between global,automatic and static variables?


Share Send to a friend Watch Report
 
 

2 Posted Answers
Order by

 
4558 helpful answers

Love is the battery of life....

Hi,
I am a bit surprised that no one answered:
Global variable = A variable that effects the entire world (as opposed to local variable).....  is not limitted to a specific area / country / continent. 
Automatic variable = A variable that is an automatic result of something else.  One has no control of it, as something happend that veriable is an automatic result. 
Static variable = A variable that doesn't (or very slightly) change with time.  It is static in nature. 
Best regards,

Posted 2008-05-01T11:59:17Z
 



Hi,
I am a bit surprised that no one answered:
Global variable = A variable that effects the entire world (as opposed to local variable).....  is not limitted to a specific area / country / continent. 
Automatic variable = A variable that is an automatic result of something else.  One has no control of it, as something happend that veriable is an automatic result. 
Static variable = A variable that doesn't (or very slightly) change with time.  It is static in nature. 
Best regards,

Posted 2009-02-27T07:48:24Z

Sign in to participate

Got an answer for poison? Would you like to comment on the posted answers, or vote for the one which you think is the best?

Sign up for a free account, or sign in (if you're already a member).

Explore Related Questions

Other people asked questions on similar topics, check out the answers they received:


Q:

How many trun reqiured for mechanic watch

how many trun reqiured for mechanic watch
Submitted by mukesh   2 years ago.
  • viewed 129 times


Q:

Fixed to variable

i bought house in 2008 march for 8.87 intrst rate with 2 yrs fixed .but now intrest r going down. i am thinking to break contract ...
Submitted by gopi   1 year ago.
  • viewed 52 times


Q:

I have a variable annuity where I have 90% in a ...

I have a variable annuity where I have 90% in a conservative - moderate model and 10&% in a fixed model. I am retired and have ...
Submitted by paul   1 year ago.
  • viewed 184 times
Last answer posted 1 year ago by Top Investors


Explore Related Posts in Forums

Where is my variable living -- about static, automatic, new and memory maps...

Non-constant global variables in C/C++. The difference between .data and .bss is that .data So I mentioned in my post about C briefly local and global variables. I hope this post will help For the novice to master. Learn, help, offer or solve problems. Rejoice and make the world a better place. For the complete...

global variables initialization

Some global variables(any type), do they initialized with zero implicitly or they have garbage applies to automatic variables, and perhaps that's what you meant. A concrete example: #include &lt -initialized (unless they have a user-supplied initializer). That includes the global variables

SRCDS Automatic Load Management

There own rates from between a global minimum and maximum ie: no client side variables must ever is When server resources are limited static rates are almost never the most optimal Manual vs Automatic I have been thinking of ways to reduce the amount of adjustments to the variables this plugin
» More...
Powered by
Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2009, Yedda Inc. and respective copyright owners · CC License