print address

I wrote a program to search for "f0e1d2c3" hex in a file. How do I get the address of it? I use %x and %p, it does not seem to get the right address.
Last edited on
Topic archived. No new replies allowed.