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 / sujitpatel

there are 4 types of classes
1 extern
2 static
3 register
4 auto
auto is default storage class which is used as for the
default value . if something s written int a ; then its
default storage is called auto . whereas the scope of the
stATIC and register is for only a file .there is only a
difference that register is used for cpu and static is used
for main memory . the scope of the extern is global it is
used for the whole program .

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the benefit of using #define to declare a constant?

1097


What is 1f in c?

2572


Why c is called a mid level programming language?

1026


What are the types of data types and explain?

1038


the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....

23600


What is the best way to store flag values in a program?

1012


What are type modifiers in c?

1001


Write a program to reverse a given number in c?

987


What is the purpose of realloc()?

1096


how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....

1744


What is typeof in c?

957


An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above

1107


What is difference between union All statement and Union?

1062


What is dynamic dispatch in c++?

999


What is difference between class and structure?

1066