最佳答案
当我阅读 蓝色源代码时,我经常看到这样定义的 char
数组:
// bluez/android/sco-msg.h
static const char BLUEZ_SCO_SK_PATH[] = "\0bluez_sco_socket";
将第一个元素定义为 \0
有什么好处?