阅读背景:

为什么函数指针和数据指针在C/ c++中不兼容?

来源:互联网 

I have read that converting a function pointer to a data pointer and vice versa works on most platforms but is not guaranteed to work. Why is this the case? Shouldn't both be simply addresses into main memory and therefore be compatible?I have read that converting a function pointer




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: