i have a struct:
and a pointer to a pointer that points to that struct.Code:struct item { type *ptype; };
and i need to pass the address of ptype to a function, would this be the right way to do it:Code:struct item **pstruct;
In my C book, -> is higher up on the precedent table, so maybe I'd have to useCode:function ( (*pstruct)->&ptype );Code:function ( (*pstruct)->(&ptype) );