we can print the address of a variable or a function using the following specifiers %u,%p here %u prints address in decimal form and %p prints in hexa decimal form,but remember these two format specifiers print only offset address but they doesn't print code segment address there is a another specifier %Fp which prints both the code segment and offset address
No comments:
Post a Comment