Why are strings declared as an array "char word[5] = "hello" modifiable but not strings declared as pointer (char *word = "hello")?
805
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
9785
What’s the difference between "Array()" and "[]" while declaring a JavaScript array?
155564
How to copy a char array in C?
54700
Correct way of declaring pointer variables in C/C++
72583
Why can array constants only be used in initializers?
47759
How do I create an array of pointers?
153484
Exceptions to array decaying into a pointer?
101823
What is the purpose of static keyword in array parameter of function like "char s[static 10]"?
84997
string c_str() vs. data()
30279
What is the type of string literals in C and C++?
155173
Can strings be used as an array index?
47816
conversion of 2D array to pointer-to-pointer
106127
Arrays are Pointers?
100509
The value of "multidimensional array pointer +1" doesn't match
84008
Two basic C++ questions about string literals and dynamic allocation
116048
Char array in a struct - incompatible assignment?
66864
How do I pass this array of c strings correctly?