Hello,
I am having trouble using a char array. I initialize the array along with another like so:
The issue is that when I output the value of w, before assigning anything else to it, I get a value that is also found in another variable - like they are sharing memory - but not the exact same chunk.Code:char hi[1024] = "", w[20] = "";
For example - say one char array contains these characters:
abcdef
w contains:
def
Anybody run into this before?