361 views
0 votes
0 votes
Normally when an object is declared, memory is allocated only for data members.

Then,

a) Where is the memory for functions is allocated?

b) How can a object access its member functions?

 

Please clarify with useful links..

Please log in or register to answer this question.

Related questions

0 votes
0 votes
1 answer
1
im.raj asked May 6, 2016
57,116 views
A. Static functionB. Friend FunctionC. Const FunctionD. Virtual function
0 votes
0 votes
1 answer
3
CJ147 asked Oct 11, 2018
632 views
The Following code has output Gate2019 #include <stdio.h char* fun(){ char* temp = "Gate2019"; return temp; } int main(void) { // your code goes here puts(fun()); return...