#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
const int SIZES = 4;
int oldvalues[SIZES] = { 10, 100, 2000, 300 };
int newvalues[SIZES];
for (int count = 0; count < SIZES; count++)
newvalues[count] = oldvalues[count];
cout << newvalues << endl;
}
Is there a reason my code is only printing "0x7ffeefbff270" I don't think there is anything missing. My guess is that I have the cout wrong?