I have the following array:

```
int a1[] = {1,2,3,4,5,6};

```

I would like to know how can I append any number to the front, and to the back of this array. In JavaScript, there is unshift() and push(). Is there anything like that in C++?