What does ** mean in C++?

There is no specific ** operator in C++, instead it’s two separate asterisks, and asterisks in a declaration denotes pointer declaration.

So in the declaration

IntElement **head

the argument head is declared to be a pointer to a pointer to IntElement.

Leave a Comment