query: Segmentation fault when modifying a string
positive_passages.docid: 805
positive_passages.text: Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
negative_passages.docid: 68711
negative_passages.text: C optimisation of string literals
negative_passages.docid: 82400
negative_passages.text: Why can´t we assign a new string to an char array, but to a pointer?
negative_passages.docid: 12089
negative_passages.text: How does a Segmentation Fault work under-the-hood?
negative_passages.docid: 31433
negative_passages.text: How do I properly compare strings in C?
negative_passages.docid: 96482
negative_passages.text: returning a pointer to a literal (or constant) character array (string)?
negative_passages.docid: 56522
negative_passages.text: Why can't I use this code to overwrite a string?
negative_passages.docid: 15883
negative_passages.text: How do I tokenize a string in C++?
negative_passages.docid: 93418
negative_passages.text: += operator appears to modify frozen string
negative_passages.docid: 114892
negative_passages.text: Segmentation fault - char pointer
negative_passages.docid: 156674
negative_passages.text: How do you concatenate strings in C?
negative_passages.docid: 134680
negative_passages.text: Why can I change the value of a const char* variable?
negative_passages.docid: 9983
negative_passages.text: Segmentation fault (core dumped) in nam ubuntu 14.04
negative_passages.docid: 80807
negative_passages.text: Is a Java string really immutable?
negative_passages.docid: 70850
negative_passages.text: What can cause segmentation faults in C++?
negative_passages.docid: 140791
negative_passages.text: "Segmentation fault" vs "run time" error?
negative_passages.docid: 145852
negative_passages.text: Using strtok() in nested loops in C?