When I try to run the following
// Example program
#include <iostream>
#include <string>
int* x;
int main()
{
x = (int[5]) { 16, 2, 77, 40, 12071 };
std::cout << x;
}
I get the following message error: taking address of temporary array
What does this mean?