Copy string in C, using pointer
805
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
55329
Can I get a non-const C string back from a C++ string?
110289
Segmentation Fault when attempting to print value in C
36861
How to read the content of a file to a string in C?
1530
How do I concatenate const/literal strings in C?
122656
Removing Spaces from a String in C?
48161
Since I can't return a local variable, what's the best way to return a string from a C or C++ function?
12453
Output of a C string program
121194
strcpy : Implementation method
84997
string c_str() vs. data()
82400
Why can´t we assign a new string to an char array, but to a pointer?
96408
Copy "string" through command line
56386
Difference between char *str="STRING" and char str[] = "STRING"?
52254
Why copying stringstream is not allowed?
22777
Passing by reference in C
50305
Why are C character literals ints instead of chars?
45814
Crash or "segmentation fault" when data is copied/scanned/read to an uninitialized pointer