-1

When programming in c++, how many pointer level we can use?

I am trying to use a two level pointer indirection.

Yakk - Adam Nevraumont
  • 262,606
  • 27
  • 330
  • 524

1 Answers1

3

In C++ (Document Number: N3797 Date: 2013-10-13) the recommended minimum for implementations is the following

— Pointer, array, and function declarators (in any combination) modifying a class, arithmetic, or incomplete type in a declaration [256].

in C (N1548 Committee Draft — December 2, 2010)

— 12 pointer, array, and function declarators (in any combinations) modifying an arithmetic, structure, union, or void type in a declaration

Vlad from Moscow
  • 301,070
  • 26
  • 186
  • 335