c++ question

in c++, how do print out the address of a function?

“ran zhang” <rzhang@vamcointernational.com> wrote in message
news:aarb0j$rk0$1@inn.qnx.com

in c++, how do print out the address of a function?

printf("%p", functionname );

cout << functionname << endl;


It’s in the linker map.

ran zhang wrote:

in c++, how do print out the address of a function?