This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

函数传入的参数为结构体时,调试发现传入的结构体内数据错误。



调试C6748的程序时,发现函数传入的参数为结构体时,调试时进入函数内后发现传入函数的结构体内的数据错误。如果传入的为结构体指针,则正确。