【问题标题】:What is the difference between char *exp="a+b" and char exp[]="a+b"? Are they stored the same way in memory or they differ?char *exp="a+b" 和 char exp[]="a+b" 有什么区别?它们在内存中的存储方式是相同的还是不同的? 【发布时间】:2022-06-14 17:54:08 【问题描述】:
另外,如果我们可以使用 char *exp,为什么我们不能使用 int *exp=[1,2,3] 来使用指针创建整数数组?