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 is a linked list in c++?
What is else if syntax?
Why c++ does not have finally?
an integer constant must have atleast one a) character b) digit c) decimal point
List the features of oops in c++?
What is the difference between C and CPP?
Does c++ have arraylist?
Is there a sort function in c++?
What is & in c++ function?
What is c++ and its features?
Why do we need function?
What is the difference between #import and #include in c++?
What is the main use of c++?
Is c++ primer good for beginners?
Explain the concept of friend function in c++?