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
What is use of bit field?
What is volatile variable in c with example?
Differentiate Source Codes from Object Codes
What does %p mean c?
What is default value of global variable in c?
Should I learn c before c++?
What is a program flowchart and explain how does it help in writing a program?
Can the “if” function be used in comparing strings?
What is the advantage of a random access file?
What is c token?
How can my program discover the complete pathname to the executable from which it was invoked?
Why does this code crash?
What is dynamic memory allocation?
What is declaration and definition in c?
What is difference between constant pointer and constant variable?