What's the difference between 1. string x = "abcd"; foreach(character; x) write(character);
and string x = "abcd"; foreach(character; x[0..$]) write(character); 2. is and == 3. pointer and address and reference?
What's the difference between 1. string x = "abcd"; foreach(character; x) write(character);
and string x = "abcd"; foreach(character; x[0..$]) write(character); 2. is and == 3. pointer and address and reference?