Q. where is the below variables stored ?
- volatile, static, register
Answer Posted / c p
local variables-->stack memory
global variable-->global or static memory
register variable-->CPU registers
static variable-->global and static memory
(stack memory+(globel memory or static memory)+heap memory)=DATA MEMORY
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Explain can you assign a different address to an array tag?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
What does the function toupper() do?
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
What is pointers in c?
What are the rules for the identifier?
What are keywords in c with examples?
What is break statement?
What is far pointer in c?
Explain union. What are its advantages?
Can a variable be both static and volatile in c?
How do you define CONSTANT in C?
How do you sort filenames in a directory?
What is the difference between procedural and declarative language?
Explain what header files do I need in order to define the standard library functions I use?