I'm taking my first C++ class and I cannot figure out this question. After the following code executes, item has the value...?? string item = “ABCX34”; item.replace(3, 1, “D”);
would it be.. ABCD34 ABD234 DDDX34 or ADDD34 and for me could you explain why this is?