Q. where is the below variables stored ?
- volatile, static, register
Answer Posted / banavathvishnu
Qualifier Storage
========= ========
1. static Data area
2. register CPU register, if CPU register are
busy with some other work, it will be treated as local and
will be stored on stack
3. Volatile is just a qualifier it does not change the
storage class, if it defined volatile var as global it will
be stored in data area, and if it defined in a funciton it
will be stored in stack.
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
What is an example of structure?
What type of function is main ()?
What is the difference between NULL and NUL?
Disadvantages of C language.
What is echo in c programming?
Differentiate between a for loop and a while loop? What are it uses?
What are the advantages of c language?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above
Differentiate between new and malloc(), delete and free() ?
What is this infamous null pointer, anyway?
Explain what is page thrashing?
What is the value of uninitialized variable in c?
Explain what is the purpose of "extern" keyword in a function declaration?
How can you determine the maximum value that a numeric variable can hold?
Describe wild pointers in c?