#include<stdio.h>
int main(){
unsigned char result = 1["night"]*2["girls"]+4["allnight"];
char *of_you = "Though you are strong enough and seem never haha";
printf("%s", result+of_you);
return 0;
}
输出结果是:haha
本文展示了一个使用C语言进行字符串运算的例子,其中包括了字符数组的定义与使用、字符串拼接等基本操作,并通过printf函数输出结果。
#include<stdio.h>
int main(){
unsigned char result = 1["night"]*2["girls"]+4["allnight"];
char *of_you = "Though you are strong enough and seem never haha";
printf("%s", result+of_you);
return 0;
}
输出结果是:haha

被折叠的 条评论
为什么被折叠?