当我运行这个代码我得到输出为4.但我的字符串长度是3为什么它给4?
#include <stdio.h> int main(void) { printf("%d",sizeof("abc")); return 0; }
c sizeof
c ×1
sizeof ×1