gpt4 book ai didi

c++ - 指针和数组的区别

转载 作者:可可西里 更新时间:2023-11-01 15:51:39 25 4
gpt4 key购买 nike

<分区>

Possible Duplicates:
Difference between char *str=“STRING” and char str[] = “STRING” ?
C: differences between pointer and array

你好,

谁能告诉我以下陈述之间的区别?

char *p = "This is a test";

char a[] = "This is a test";

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com