3 ms·newString is initialized inside the loop, so it will get destroyed when you exit the loop.by qwertyz 14y agonewString is initialized inside the loop, so it will get destroyed when you exit the loop.