我有一个存储在一个函数地址unsigned int和一个函数指针.
unsigned int
现在我想要function_pointer包含的价值 function_address
function_pointer
function_address
unsigned int function_address = 0xdeadbeef; void(*function_pointer)(void) = function_address; // not valid
如何在C中做到这一点?
c pointers integer
c ×1
integer ×1
pointers ×1