-
May 9th, 2004, 01:28 PM
#1
Senior Member
stack, heap, confusion
Hi everyone, I've got a few OS/memory questions:
When you write a program, lets say in C, how is memory allocated for variables, functions, callocs/mallocs?
What are the main differences between the stack and the heap?
Also, when you have multiple threads, all have access to the same memory, is this accomplished by just sharing pointers?
I have searched around for a concise answer, but AO is always a better resource for no BS info.
thanks,
J
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|