一个长度的char*/char[]和C中的char有什么区别?

what is the difference between one length of char*/char[] and char in C?

char str[] = "a";
char ch = 'a';

说到两者的区别,大家都知道str指向一个内存space,里面存放了[a,\0],但是我想问一下两者有区别吗str[0]ch?

but I want to ask whether there is a difference between str[0] and ch?

没有

str[0]ch,两者都是 char 类型,并保存值 'a'。从这个方面(类型和值)来说,没有区别。