Which is the better way to declare string in C?

后端 未结 0 1504
[愿得一人]
[愿得一人] 2021-02-02 14:20

I\'m new to C language and I\'m very curious about the best way to declare string in c.

char *name;
char name[];

What\'s the difference between t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题