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.

3rd Feb 2017, 5:54 AM
Srikanth Srinivasan
Srikanth Srinivasan - avatar
1 Odpowiedź
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.
28th Mar 2017, 8:38 PM
soman