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...

Q. where is the below variables stored ?
- volatile, static, register

Answer Posted / kiruthikau

local variables-->stack
global variable-->data memory
register variable-->CPU registers
static variable-->main memory


Volatile is a type qualifier not a storage class specifier.
So it does not determine storage location.

When we declare a variable as volatile the compiler will
examine the value of the variable each time it is
encountered to see if an external factor has changed the value.

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain zero based addressing.

974


What is pointer and structure in c?

1095


What does %d do in c?

919


By using C language input a date into it and if it is right?

1032


plz let me know how to become a telecom protocol tester. thank you.

2153


What is character set?

1127


Why are all header files not declared in every c program?

1050


How can I call a function with an argument list built up at run time?

1180


Explain what are bus errors, memory faults, and core dumps?

1233


What is the difference between struct and typedef struct in c?

1095


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

1179


What is the difference between array and linked list in c?

1097


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2407


What is static function in c?

1072


C program to find all possible outcomes of a dice?

2290