<p>I have two questions:</p>

<p>1) How can I make an array which points to objects of integers?</p>

<pre><code>int* myName[5];  // is this correct?
</code></pre>

<p>2) If I want to return a pointer to an array, which points to objects (like (1)) how can I do this in a method? ie) I want to impliment the method:</p>

<pre><code>int **getStuff() {
// what goes here?
return *(myName); // im pretty sure this is not correct
}
</code></pre>

<p>Thanks for the help!</p>

How can I make an array which points
  to objects?
```
```
int * myName[5]; /* correct */
```
```
If I want to return a pointer to an
  array, which points to objects (like
  (1)) how can I do this in a method?
Technically, you write this function:
```
```
int * (* getStuff() )[5] {
    return &myName;
}
```
```
That returns a pointer to that array. However, you don't want to do that. You wanted to return
a pointer to the first element of the array
:
```
```
int ** getStuff() {
    return myName; /* or return &myName[0]; */
}
```
```
That way, you can now access items as you want like
```
getStuff()[0] = &someInteger;
```