
When I fill a memory location display is normal,

But I want to fill a position/xd0 behind/in front of the x00 automatically replace filled,
Why is this excuse me? How to solve? System is centos7

The code is a book,
CodePudding user response:
\ x00 is the end of the string sign, in string manipulation by special processing, is not considered part of the string