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

how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

1938


What is difference between union and structure in c?

1166


write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.

2103


What are the back slash character constants or escape sequence charactersavailable in c?

1182


The file stdio.h, what does it contain?

1165


Write a progarm to find the length of string using switch case?

2068


How to find a missed value, if you want to store 100 values in a 99 sized array?

1413


Explain what is the benefit of using const for declaring constants?

1038


What are multidimensional arrays?

1121


Where local variables are stored in c?

1009


What is typedef example?

1188


What is wrong with this program statement?

1038


How is a macro different from a function?

1186


What are volatile variables in c?

948


What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?

1345