↧
Answer by user3344003 for Including a library in C, where does it place in...
You are starting from a bad premise: I understand how an address space is partitioned into: code, data, stack and heap. However, I am having trouble mapping what goes to where for a given C code. The...
View ArticleAnswer by Alex Hoppus for Including a library in C, where does it place in...
Actually if you have linux based pc, you can check it by yourself in the following way: create a simple c application with a infinite while loop inside of main(). compile $ gcc -o main ./main.c -g...
View ArticleIncluding a library in C, where does it place in the address space?
I understand how an address space is partitioned into: code, data, stack and heap. However, I am having trouble mapping what goes to where for a given C code. I know that: global variables are in the...
View Article