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
Tell me when would you use a pointer to a function?
Write a code to generate divisors of an integer?
What is volatile variable in c with example?
Write a C program in Fibonacci series.
Can you please explain the scope of static variables?
What is function prototype in c language?
What is omp_num_threads?
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
Is c procedural or object oriented?
Explain About fork()?
What is the code for 3 questions and answer check in VisualBasic.Net?
Why do we need volatile in c?
How can I find out how much free space is available on disk?
What are header files and explain what are its uses in c programming?
Write a program to check palindrome number in c programming?