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
How can you find the day of the week given the date?
What is adt in c programming?
What is an expression?
Who invented bcpl language?
Why is not a pointer null after calling free?
What is the basic structure of c?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
Explain how can I convert a string to a number?
What does static variable mean in c?
What happens if a header file is included twice?
Explain what is the difference between #include and #include 'file' ?
How can I recover the file name given an open stream?
What is c system32 taskhostw exe?
Explain what are compound statements?