+ 2
Nice question! The compiler choose to put the string characters in the read-only section of the executable. To make the string writeable you have to define it as char string[] = "asdfghjkl";
10th Jun 2020, 4:03 AM
Bilbo Baggins
Bilbo Baggins - avatar