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 difference between array and structure in c?
Why c is called a mid level programming language?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
Write a program to know whether the input number is an armstrong number.
Write a program for finding factorial of a number.
Why double pointer is used in c?
What are the basic data types associated with c?
Why we use int main and void main?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
I need a sort of an approximate strcmp routine?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
Differentiate between declaring a variable and defining a variable?
regarding pointers concept
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.