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 meant by global static? why we have to use static
variable instead of Global variable

Answer Posted / guest

Static is protected one and you cannot acess the variable
in other files/functions.It is declared in the top of the
file/function.The value retains tho,t the program.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the description for syntax errors?

1170


Why can’t we compare structures?

1277


What is formal argument?

1139


Explain what’s a signal? Explain what do I use signals for?

1167


Where register variables are stored in c?

970


Can a program have two main functions?

1132


Why do we need volatile in c?

1178


Is register a keyword in c?

1048


Can a pointer point to null?

1071


What is the collection of communication lines and routers called?

1129


Explain how many levels deep can include files be nested?

1079


Is it valid to address one element beyond the end of an array?

1175


List a few unconditional control statement in c.

988


What are formal parameters?

1125


Can a variable be both constant and volatile?

1127