How to break into Xcode's debugger based on the length of a C “String”?

前端 未结 0 1282
傲寒
傲寒 2021-01-17 22:34

After searching online I found two ways to calculate the length of a C "String" [really character array]

C array length:

*(&arr + 1) - arr

相关标签:
回答
  • 消灭零回复
提交回复
热议问题