CodePudding user response:
First, % x to hexadecimal output, at the back of the p (not * p) for a first address or a [0], p + 9 is a [9] address,If int to 2 bytes, then the second output should be 0 x194 + 18, namely 1 a6, solutions, seems to be perfect!
But, I want to tell you, this is wrong! Not sure int is 2 bytes!
So the correct answer is: the title was wrong.
CodePudding user response:
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.html
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html