我一直试图解决这个问题,但任何帮助都应该受到赞赏.我有这个功能 -
void * func1(void * a)
{
return (void *)0x123;
}
Run Code Online (Sandbox Code Playgroud)
现在,当我检索Value时,我在1E4等中得到一些随机数.这是我要检索的代码 -
void * check = func1;
printf(1,"%x\n", (uint)check);
Run Code Online (Sandbox Code Playgroud)
我确实理解Void指针,但这是我的头脑.我要打印"0x123"
| 归档时间: |
|
| 查看次数: |
105 次 |
| 最近记录: |