when i do this
char* string = "hello";
should i first do this?
before i do this?
string = "a diffrent hello";
when i call delete string i get some kind of error though.
i wonder where is data allocated when i write the char array string or whatever its called "hello" is it heap or stack?
thanks for any help im curious.