p is an instance of type pointerarray, and data is an instance of type data-array

pointerarray p;

dataarray data;