Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the two shift operators and what are their functions?

1035


Explain the properties and principles of oop.

960


When is dynamic checking necessary?

1042


Is python written in c or c++?

1090


give me an example for testing a program showing the test path .show how the test is important and complex.

2859


What is microsoft c++ redistributable 2013?

1039


How to declare an array of pointers to integer?

1070


Explain deep copy and a shallow copy?

989


What is the syntax for a for loop?

1069


What are the types of array in c++?

1091


What is the difference between struct and class?

1424


Is facebook written in c++?

948


What is singleton class in c++?

985


Explain deep copy?

994


What is the function to call to turn an ascii string into a long?

1001