pointerarrays
ptr
and
pred
declared globally
pointerarray ptr,pred;