What does std::cout << std::cin do? : <p>I am new to C++ and was messing around with some of the things that I've learnt.
So I tried the following code:</p>

<pre><code>#include &lt;iostream&gt;
int main() {
    std::cout &lt;&lt; std::cin;
}
</code></pre>

<p>So I expected the code to return an error, but instead got what I think is a memory address (0x6fccc408). Also, when running it multiple times, I got the same memory address, even after restarting cmd. What exactly does this memory address signify?</p>
