Quantcast
Channel: Including a library in C, where does it place in the address space? - Stack Overflow
Browsing all 3 articles
Browse latest View live

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 Article



Answer 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 Article

Including 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
Browsing all 3 articles
Browse latest View live




Latest Images