Program producing corrupted data : <p>I'm not sure what I'm doing incorrectly here, but when I compile this program, the console output shows all of the data as strange corrupted characters and what seems to be hex numbers.</p>

<p><strong>Here's the source:</strong></p>

<pre><code>#include "stdafx.h"

#include &lt;iostream&gt;

using namespace std;

int main()
{
    int x[10] = { -5, 4, 3 };
    char letters[] = { 'a', 'b', 'c' };
    double z[4];

    cout &lt;&lt; x;
    cout &lt;&lt; "\n";
    cout &lt;&lt; letters;
    cout &lt;&lt; "\n";
    cout &lt;&lt; z;
    cout &lt;&lt; "\n";
    system("pause");
    return 0;
}
</code></pre>

<p>Here's how it compiles - <a href="https://gyazo.com/a622959f6b6e88846ce5d1d922c8c356" rel="nofollow noreferrer">https://gyazo.com/a622959f6b6e88846ce5d1d922c8c356</a></p>

<p>Thanks in advance. </p>
