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 the full form of ios?
How would you use the functions randomize() and random()?
Define the process of handling in case of destructor failure?
What is a null object in c++?
What is the best c++ compiler?
How is new() different from malloc()?
How can I learn c++ easily?
Can char be a number c++?
Write a program to concatenate two strings.
Which sort does c++ use?
Why is c++ considered difficult?
Which bit wise operator is suitable for turning off a particular bit in a number?
What is the difference between the parameter to a template and the parameter to a function?
What is the best c++ book?
daily Routine of father