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
How does selection sort work in c?
Do pointers need to be initialized?
What are examples of structures?
can we have joblib in a proc ?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
Explain the difference between null pointer and void pointer.
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
What is the difference between a function and a method in c?
How can I find out how much free space is available on disk?
How to create struct variables?
Why does everyone say not to use gets?
what does static variable mean?
Dont ansi function prototypes render lint obsolete?
What is the difference between c &c++?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.