answersLogoWhite

0

What is the Conceptual Memory Map of a C Program?

Updated: 8/18/2019
User Avatar

Wiki User

12y ago

Best Answer

C++ has 4 distinct regions for memory distribution

Stack : This region is used for function calls' return addresses , arguments and local variables

Heap : This region is for dynamic allocation of memory (dynamic variables created on run time use this memory , aka RAM)

Global Variables : This is used for global variables defined by the programmer

Program Code : This region is for the program code.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the Conceptual Memory Map of a C Program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the smallest addressable memory unit in C?

program


Memory is empty but it says memory full in data c?

You have one or more errors in your program.


Write a C program using dynamic memory allocation to find the sum of elements of a matrix?

Did you know that memory allocation is not needed to display the matrix? However, the C program is to find the sum of all the elements.


What is union in c program?

It's a fragment of memory shared by multiple variables.


How c program gets stored in the memory?

Binary object code executable.


What is the purpose of pointer in C?

the purpose of pointer in c for saving the memory space.,and reduce the length and complexity of the program


A C program using dynamic memory allocation to sort n names in ascending order?

Writing a C program that uses dynamic memory allocation to sort names in ascending order is a typical computer science assignment. To write this program, you must be in UNIX.


C program for matrix multiplication using dynamic memory alllocation?

Poor boy


What is meant by an pointer in c program?

Pointer is like variable address the members in memory shell


How is memory allocated in c program for a character data type?

One byte for every character.


How do you install mods in Call of Duty 1?

Set in it a map And then place it in C:/program filles/Call of Duty If it not work try this C:/program filles/Call of Duty/main


What is the variable in c language program?

A variable is the name for a place in the computer's memory where you store some data.