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
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
In c language can we compile a program without main() function?
Explain how are 16- and 32-bit numbers stored?
what are non standard function in c
Write a Program to accept different goods with the number, price and date of purchase and display them
Where we use clrscr in c?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
What do header files do?
Why do we use int main?
What does c mean before a date?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
Explain how can type-insensitive macros be created?
Can we compile a program without main() function?
Explain what are multibyte characters?
What is the difference between typedef and #define?