mail the ans on (email removed)
how can I find the addres of function
Collapse
X
-
-
The name of a function is the address of the function.
You can just typecast the functon name to an int. -
-
-
An int may not be large enough to hold an address. I suggest you use a long int.
Code:long addr = &display; printf("address:=%lu\n",addr);
Comment
Comment