How are the specifiers %p
and %Fp
working in the following code?
void main()
{
int i=85;
printf(\"%p %Fp\",i,i);
get
Addition to what @Myforwik said
%p is for printing a pointer address.
%Fp is probably used to format a FAR pointer which is of the form --> (0x1234:0x5678)
and 85 in decimal is 55 in hexadecimal.
I hope its okay now.
References : http://www.lix.polytechnique.fr/~liberti/public/computing/prog/c/C/FUNCTIONS/format.html http://www.winehq.org/pipermail/wine-devel/2005-March/034390.html