GYANTONIC
Placement Preparation
Aptitude Test
HR Interview
C / C++ Test
Career
Login
Create Account
Ask Question
Q & A
Articles
Become Mentor
Home
>
Discussion Topics
>
Discussions
Discuss this Question
All static variables are constant by default.
True
False
Answer :
False
Share
|
Previous Comments
static variable is onetime memory allocation.
the scope of the static variable is local to the block.
the life of the static variable is persist in b\w function calls.
On :
12-Aug-2011
By :
Bandaru Bramhini
Report Abuse
|
Reply
a static variable is a variable that has been allocated statically — whose lifetime extends across the entire run of the program
On :
20-Apr-2011
By :
suyash
Report Abuse
|
Reply
uses of static variable --it maintains the value of the variable
By :
jebapoomani
On :
11-Jun-2011
can any one tell me what are static variables and what are their use
On :
18-Apr-2011
By :
misha
Report Abuse
|
Reply
static variable maintains the stability of the variable throughout the life time of the variable.
By :
jebapoomani
On :
11-Jun-2011
Your Comments
Login to Post
Ask a Question
Type your question here.
Latest Articles
What to opt after B.Tech: MBA or M.Tech
The .NET FRAMEWORK
Importance of practical education
Choosing the right Coaching Centre
Understanding Locking in SQL Server
How to cope with failure
Entrepreneurship - the need of the hour
All Articles...