I am trying to get the array size but I am getting an error. My code is:

```
#include <iostream>
#include <array>

using namespace std;
int main ()
{
 int myarray[5];
  cout << "size of array: " << myarray.size() << endl;
  cout << "sizeof array: " << sizeof(myarray) << endl;

  return 0;
}

```

And this is the error I'm getting:

> 
> error: request for member 'size' in 'myarray', which is of non-class type 'int [5]'|
> 
> 
>