format - How to display hexadecimal numbers in C? - Stack Overflow

format - How to display hexadecimal numbers in C? - Stack Overflow

瀏覽:1002
日期:2025-06-28
I have a list of numbers as below: 0, 16, 32, 48 ... I need to output those numbers in hexadecimal as: 0000,0010,0020,0030,0040 ... I have tried solution such as: printf("%.4x ......看更多