B
Bo Sun
hi:
for static variables, are the static variable defined inside a function
and the static variable defined outside a function allocated to the same
segment? (data segment)
also, when a C program is compiled/linked, there are several segments,
like data, BSS, stack, etc. What else? is there some good website about
this?
thanks,
bo
for static variables, are the static variable defined inside a function
and the static variable defined outside a function allocated to the same
segment? (data segment)
also, when a C program is compiled/linked, there are several segments,
like data, BSS, stack, etc. What else? is there some good website about
this?
thanks,
bo