C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
printf Type Characters: Pointer
                                             Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     Character     Type        Output Format
 
     p             Far ptr     Prints the address pointed to by the
                   to void     argument in the form <xxxx>:<yyyy>,
                               where <xxxx> is the segment and <yyyy>
                               is the offset, and the digits <x> and
                               <y> are uppercase hexadecimal digits;
                               %Np prints only the offset of the
                               address, <yyyy>. Since %p expects a
                               pointer to a far value, pointer
                               arguments to p must be cast to far in
                               small-model programs.
                                    -♦-