answersLogoWhite

0


Best Answer

Binary object code executable.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How c program gets stored in the memory?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Where does global variables stored in C?

It depends entirely on what platform you are using. In an embedded environment, for instance global/static variables go into different RAM memory segments depending on whether or not they are initialised. constants are often left in ROM automatic variables are normally placed of the stack of the currently running task but not always.


Where does global static local register variables free memory and C Program instructions get stored?

* These are all implementation defined. Access to `register' specified indentifiers should be as fast as possible, so the compiler may place the value in a machine register. However, the compiler is free to treat a `register' declaration as an `auto' declaration. * Where free memory is maintained is an OS specific concept. Instructions are generally stored in code segement. Local Variables are stored in Stack. Register variables are stored in Register. Global & static variables are stored in data segment. The memory created dynamically are stored in Heap And the C program instructions get stored in code segment.


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

You have one or more errors in your 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.


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

One byte for every character.

Related questions

What is a C variable?

A variable is an entity that may change its value. In a program, the result of the processing statements are stored in the computer's memory.


How c programs get stored in memory?

The source or the executable?


Where does global variables stored in C?

It depends entirely on what platform you are using. In an embedded environment, for instance global/static variables go into different RAM memory segments depending on whether or not they are initialised. constants are often left in ROM automatic variables are normally placed of the stack of the currently running task but not always.


Where does global static local register variables free memory and C Program instructions get stored?

* These are all implementation defined. Access to `register' specified indentifiers should be as fast as possible, so the compiler may place the value in a machine register. However, the compiler is free to treat a `register' declaration as an `auto' declaration. * Where free memory is maintained is an OS specific concept. Instructions are generally stored in code segement. Local Variables are stored in Stack. Register variables are stored in Register. Global & static variables are stored in data segment. The memory created dynamically are stored in Heap And the C program instructions get stored in code segment.


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.


When does the local variables gets memory in C?

When entering the function; they are on the stack.


What does F stands for in PIC12F629?

This was a little difficult to track down on their website: their older PICs that stored the program in EEPROM used a "C" in that field of the partnumberthe new PICs that store the program in FLASH use an "F" in that field of the partnumberSo the "F" in PIC12F629 stands for program code stored in FLASH. They probably have other letters they will use for other types of program memory that they might use (e.g. masked programmed ROM) but I couldn't find any others than "C" and "F".


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.


Where is data on your computer stored?

Data about programs and applications are stored on your hard drive, it is usually located in (C:\Program Files) but can be known to go to (D:\) depending on how many partitions you have.


Where is the c program stored?

Text files, mainly. The name of the files usually ends with .C and .H (lowercase in unix).