(C DSA) Why are char positions written using fputc() are off by one when read by fgetc() and searched?

后端 未结 0 1690
臣服心动
臣服心动 2020-12-12 16:36

Both write() and search() use the same O(n) for loop but the search reports match position values one less than the write() reports writing them. Is there something that cha

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