Function allocation
- by novice_coder
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.