The following code produces a segmentation fault on my system. I can\'t figure out why. Any help would be appreciated.
#include int main() {
Attempting to modify a string literal causes undefined behaviour.