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 are Storage Classes in C ?

Answer Posted / vijoeyz

C has three types of storage: automatic, static and
allocated.

Variable having block scope and without static specifier
have automatic storage duration.

Variables with block scope, and with static specifier have
static scope. Global variables (i.e, file scope) with or
without the the static specifier also have static scope.

Memory obtained from calls to malloc(), alloc() or realloc()
belongs to allocated storage class.

--
http://www.geocities.com/vijoeyz/faq/



Is This Answer Correct ?    27 Yes 282 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain how do you use macro?

1097


Whats s or c mean?

948


What is the acronym for ansi?

996


How can I manipulate strings of multibyte characters?

1071


What does sizeof function do?

1121


Is null always equal to 0(zero)?

989


Are bit fields portable?

1107


What is use of pointer?

1006


Where static variables are stored in memory in c?

945


How can you increase the size of a statically allocated array?

1029


Explain what is the heap?

1010


What is a wrapper function in c?

1070


Do you know the use of 'auto' keyword?

1126


What is hungarian notation? Is it worthwhile?

1166


What does & mean in scanf?

1042