Changing the address value of a function pointer [closed]
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 4 years ago . I have the following code in C: int addInt(int n, int m) { return n + m; } int (*functionPtr)(int, int); functionPtr = &addInt; functionPtr is a function pointer and it points to the specific address of the function addInt . I want to change 1 bit of its value, but I can't figure it out how. Let's