I don't understand the last output for this block of code
<p>Well, this code was taken from a practice exam for a programming thing that i'm very under qualified for, but i'd still like to know the reason behind the output for this.</p>

<pre><code>    #include &lt;iostream&gt;
    using namespace std;

    int main(){

    char g = 'X', t = '1', *k_ = &amp;t;

    g = 'y';
    cout &lt;&lt; *k_ &lt;&lt; *k_ &lt;&lt; endl;
    g = 'Y';
    cout &lt;&lt; *k_;
    k_ = &amp;g;
    t = 'Z';
    cout &lt;&lt; *k_ &lt;&lt; *k_ &lt;&lt; *k_ &lt;&lt; endl;

    return 0;

    }
</code></pre>

<p>I don't understand why the output for the last cout is 1YYY if there are only three k_ pointers, and there's that 1 that's bothering me too.</p>
