NaN*_*NaN 0 c concat append ansi
我认为可以在C中连接字符串(字符串数组).
char* str1= "hello" " " "world";
Run Code Online (Sandbox Code Playgroud)
但是当我尝试以下操作时,我会收到一条错误消息(函数fopen的参数太少).为什么?
fopen(*argv ".comp", "r");
Run Code Online (Sandbox Code Playgroud)
我想用char []常量连接参数 - 没有strcat间接.这可能吗?
就像PHP中的"字符串".$ var或"像这样的字符串"+ Java中的var