It could also be array of pointers to arrays of strings. In any case, it would be sensible to wrap some of the layers with struct.
puts(widgets[0]->tags[0]);
Was going to say exactly that — IMO having more than two layers of * is a code smell that one of those layers ought to be made a struct, or an array-wrapped-in-a-struct.
*
***p has always given me nightmares and I always had to triple-check that section of code to ensure it did what it was supposed to do. ;-)
Hahaha!
“Nobody uses 3 stars” looks at own code Oh no!
The infamous Three-Star programmer.
It could also be array of pointers to arrays of strings. In any case, it would be sensible to wrap some of the layers with struct.
Was going to say exactly that — IMO having more than two layers of
*
is a code smell that one of those layers ought to be made a struct, or an array-wrapped-in-a-struct.***p has always given me nightmares and I always had to triple-check that section of code to ensure it did what it was supposed to do. ;-)
Hahaha!
“Nobody uses 3 stars” looks at own code Oh no!
The infamous Three-Star programmer.