what is difference between static and non-static variables
Answer Posted / narender vadhava
static variables have their fix values within a program but
in case of non-static variables their values are changable
within the same program.
syntax of static variable:-
static int s;
while
non static variables declared only by using general basic
data type.
as:-
int s;
| Is This Answer Correct ? | 14 Yes | 12 No |
Post New Answer View All Answers
What are the two shift operators and what are their functions?
Explain the properties and principles of oop.
When is dynamic checking necessary?
Is python written in c or c++?
give me an example for testing a program showing the test path .show how the test is important and complex.
What is microsoft c++ redistributable 2013?
How to declare an array of pointers to integer?
Explain deep copy and a shallow copy?
What is the syntax for a for loop?
What are the types of array in c++?
What is the difference between struct and class?
Is facebook written in c++?
What is singleton class in c++?
Explain deep copy?
What is the function to call to turn an ascii string into a long?