I'm trying to play with arrays and pointers by changing everything back and forth from different values, but this code has brought an error 'cannot convert 'int () [4]' to int in initialization, whats wrong here? no declared properly?
#include <iostream>
#include <cctype>
#include <stdio.h>
#include <math.h>
using namespace std;
int main()
{
int anArray[4] = {1, 2, 3, 4};
int* firstPnt = &anArray;
cout << *firstPnt;
}