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
Write a program to implement queue.
How many header files are in c?
what is the basis for selection of arrays or pointers as data structure in a program
Can the curly brackets { } be used to enclose a single line of code?
how is the examination pattern?
State the difference between realloc and free.
How to implement a packet in C
What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?
Why do we use int main instead of void main in c?
What is clrscr ()?
What is a structure member in c?
What is d scanf?
Explain how many levels deep can include files be nested?
Write a program for finding factorial of a number.
Is c compiled or interpreted?