The code would initialize the reference
i
with a reference to a temporary, a disaster.
i
with a reference to a temporary, a disaster.