I was reading the SO question about displaying integers as hex using C (without using %x, by using a custom function) and the first answer mentions using bitwise operators to achieve the goal.
But I can’t figure it out on my own. Can anyone tell me how this would be done?
I hope this makes it a little clear to you.