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


Please Help Members By Posting Answers For Below Questions

How can you find the day of the week given the date?

851


What is adt in c programming?

849


What is an expression?

841


Who invented bcpl language?

934


Why is not a pointer null after calling free?

779


What is the basic structure of c?

778


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

924


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

997


Explain how can I convert a string to a number?

842


What does static variable mean in c?

863


What happens if a header file is included twice?

798


Explain what is the difference between #include and #include 'file' ?

789


How can I recover the file name given an open stream?

759


What is c system32 taskhostw exe?

793


Explain what are compound statements?

814