阅读背景:

2D字符数组内容被覆盖。

来源:互联网 

I am trying to read a string and reverse the words in the string., but the content of the strings is getting overwritten and I am getting garbage values for the first few strings in the 2D array. E.g. when I print the words in reverse order at the end of the function, I am getting junk for the first few strings. What am I doing wrong?I am trying to read a string and reverse the wo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: