type of segment inb memory

M

mangesh

how many segments are there in memory , like data segments , init
segment ect ?

Regards
Mangesh .
 
I

Ian Collins

mangesh said:
how many segments are there in memory , like data segments , init
segment ect ?
Platform specific, try a group specific to your platform.
 
R

Rolf Magnus

mangesh said:
how many segments are there in memory , like data segments , init
segment ect ?

In Standard C++, there are three types of memory, which are:

static memory
used for namespace-scope variables and static local and member variables

dynamic memory
used for objects created with new and malloc and the like

automatic memory
used for local non-static variables

Everything beyond that is specific to your compiler/linker.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top