Runt time error during string manipulation on a character pointer but not on character array
805
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
93298
If an array name is treated as a pointer, why do I get a compile time error of Lvalue required when incrementing an array?
152295
initializing char arrays in a way similar to initializing string literals
31433
How do I properly compare strings in C?
128405
invalid conversion from 'int' to 'char *'
153484
Exceptions to array decaying into a pointer?
19798
C strcpy does not work when copying to a pointer in a simple program?
78233
using scanf function with pointers to character
127777
How can I return a character array from a function in C?
68711
C optimisation of string literals
45298
Deleting char* after assigning it to a string variable
155564
How to copy a char array in C?
116048
Char array in a struct - incompatible assignment?
143231
Efficient way to replace chars in a string (java)?
140791
"Segmentation fault" vs "run time" error?
19438
How to convert a char array back to a string?
42953
C++ GCC 4.3.2 error on vector of char-array