1. 29
  1.  

  2. 4

    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]);
    
    1. 3

      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.

    2. 2

      ***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. ;-)

      1. 1

        Hahaha!

        “Nobody uses 3 stars” looks at own code Oh no!

        1. 1

          The infamous Three-Star programmer.