Home Posts Topics Members FAQ
Join Bytes to post your question to a community of 471,850 software developers and data experts.
printf("Hex = %#x\n", 28); will print out 0x1c What if I want to print 0x001c for 16-bits?, or even 0x0000001c with 32-bits? can i adjust the format in my case?
printf("Hex = %#x\n", 28); will print out 0x1c What if I want to print 0x001c for 16-bits?, or even 0x0000001c with 32-bits? can i adjust the format in my case? please advice. thanks!!
Replies have been disabled for this discussion.
By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.
To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.