memory allocation

zhaobin xv
Mon Sep 16 08:43:00 GMT 2013

As I know in C :
a. Global and static variables locate at data segment
b. When a function is called, memory is allocated on the stack to hold
parameter values, local variables, and the address of the calling
c. the struct is aligned based on the greatest alignment requirement
of it's members.
I want to know what these base on to define?
Are there some manual or book about these?

More information about the Gcc mailing list