3
4

1 回答 1

8

strcat() modifies the first operand. Therefore it cannot be const. But you passed it a const char*.

So you can't use strcat() on two const *char strings.

于 2012-02-13T21:08:14.807 回答