Novice MicroSoft C5.1 question

Colin Plumb colin at array.UUCP
Fri Aug 10 00:58:19 AEST 1990


In article <165 at srchtec.UUCP> johnb at srchtec.UUCP (John Baldwin) writes:
>  [Obviously, in this instance, you'll have to do more than that,
>   since there's not a '%p' format specifier in the ANSI printf()!!!
>   Sorry.  :-/ ]

Yes, there is!  %p prints the value of a (void *) pointer in an
implementation-defined manner.  %Np and %Fp are Microsoft inventions,
but the first I heard about %p was when reading the ANSI spec.

(Ref: 4.10.something)
-- 
	-Colin



More information about the Comp.lang.c mailing list