query: Why does modifying a string literal cause a segmentation fault?
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: 157507
negative_passages.text: Segmentation fault with strcpy()
negative_passages.docid: 59492
negative_passages.text: What is the difference between a segmentation fault and a stack overflow?
negative_passages.docid: 82322
negative_passages.text: C segmentation fault-char pointers
negative_passages.docid: 146124
negative_passages.text: Where does the compound/string literals get stored in the memory?
negative_passages.docid: 37662
negative_passages.text: What new capabilities do user-defined literals add to C++?
negative_passages.docid: 72675
negative_passages.text: I don't understand why this is causeing my program to crash?
negative_passages.docid: 94252
negative_passages.text: How to determine the result of assigning multi-character char constant to a char variable?
negative_passages.docid: 141442
negative_passages.text: Why does my string comparison fail?
negative_passages.docid: 76629
negative_passages.text: Why is this string reversal C code causing a segmentation fault?
negative_passages.docid: 54854
negative_passages.text: Does C# optimize the concatenation of string literals?
negative_passages.docid: 62005
negative_passages.text: Implied string comparison, 0=='', but 1=='1'
negative_passages.docid: 30279
negative_passages.text: What is the type of string literals in C and C++?
negative_passages.docid: 58738
negative_passages.text: memory address literal
negative_passages.docid: 12036
negative_passages.text: Does the 'mutable' keyword have any purpose other than allowing the variable to be modified by a const function?
negative_passages.docid: 125307
negative_passages.text: unterminated string literal error
negative_passages.docid: 19635
negative_passages.text: "Char cannot be dereferenced" error