what is difference between static and non-static variables
Answer Posted / sengar
static variable will not be change value all time but non
static value can be changed according requirement .
without giving any value static variable automatically
initialize by zero but in non-static case not the same
case.
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
What is meant by entry controlled loop?
Are php strings immutable?
What is the most useful programming language?
What is the return value of the insertion operator?
Why c++ is called oop?
What is ofstream c++?
What information can an exception contain?
How do you define/declare constants in c++?
Can class objects be passed as function arguments?
Why are pointers used?
Differentiate between a copy constructor and an overloaded assignment operator.
Why c++ is so important?
What is the difference between map and hashmap in c++?
Incase of a function declaration, what is extern means?
How do you write a function that can reverse a linked-list?