Modifying a char* in another function ? (Segmentation Fault)
805
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
64799
Using char* as a key in std::map
30066
How to make a char string from a C macro's value?
136822
Why does a C-Array have a wrong sizeof() value when it's passed to a function?
10445
pointer increment and dereference (lvalue required error)
127777
How can I return a character array from a function in C?
101597
cout << with char* argument prints string, not pointer value
158979
Function returning pointer to itself?
59401
The simplest way of printing a portion of a char[] in C
43497
Segmentation fault reversing a string literal
82322
C segmentation fault-char pointers
19798
C strcpy does not work when copying to a pointer in a simple program?
95526
Pass a pointer to a function as read-only in C
96482
returning a pointer to a literal (or constant) character array (string)?
30719
How to modify function argument?
12683
How to access a local variable from a different function using pointers?
79740
String can't change. But int, char can change