0
How the member functions are created?and explain about their memory allocation.
How the member functions are created?and explain about their memory allocation.
1 Answer
0
Member functions are not allocated. They don't describe the data, they describe actions. The functions are generated as executable code by your compiler. You can look at assembler code generated by your compiler to see, how are the functions crested. Just look at compiler options. GCC could do that with -S option.