Hi,
I have a string char *input and i just want to make a copy of it - char *inputcopy
if i say inputcopy = input and then change input then inputcopy changes too which I don't want. If i use strcpy(inputcopy, input) then I get a segmentation fault. I'd appreciate any help, it's driving me crazy!