-11

Is it possible pointers "***" is placed between arr and []? What implies this line?

  • possibly [this](https://stackoverflow.com/questions/758673/uses-for-multiple-levels-of-pointer-dereferences) is what you are looking for. – Vishaal Shankar Feb 07 '18 at 08:23
  • 1
    Could you put this inside a compilable `int main()` function in order to afford more clarity please? – Bathsheba Feb 07 '18 at 08:24
  • 1
    You can [check it yourself](http://en.cppreference.com/w/cpp/language/new). Try getting used to checking that site before you ask something. – nwp Feb 07 '18 at 08:25

1 Answers1

5

The statement

a = new arr***[num];

allocate an array of num pointers to pointers to pointers to arr, and make a point to that memory.

The type of a have to be arr****. Which is just silly.

Some programmer dude
  • 400,186
  • 35
  • 402
  • 621