Function allocation

Posted by novice_coder on Stack Overflow See other posts from Stack Overflow or by novice_coder
Published on 2010-04-15T15:07:01Z Indexed on 2010/04/15 15:13 UTC
Read the original article Hit count: 249

Filed under:
|

Where are functions stored in a C++ program?

For example

int abc()
{
   //where am I stored? 
}

I know that we can take the address of a function, that means functions are stored somewhere in memory. But I have already read at many places that no memory allocation for functions takes place.

I am confused. My question may seem vague to many of you but I can't help.

© Stack Overflow or respective owner

Related posts about c++

Related posts about functions