PREV INDEX NEXT

Author: Unknown
Subject: Defining pointer to array
Date: Wednesday, 15 Apr 2020, 01:24:19

In defining a struct entry (representing the entries of the hashtable), I want to have one of its fields be a pointer to an array of struct triples.

Do I do something like struct triple[] *ptr?

Or is doing struct triple *ptr sufficient, since a pointer to an array = a pointer to the first element of the array = a pointer to a struct triple?
PREV INDEX NEXT