C语言十进制转十六进制数void dec2hex(int n,char *buf) ;要求:如n = 16; buf[0] = 0; buf[1] = A; “0A”;不能用函数,上面积错了.n = 10 那么buf = "0A"; n = 17 --- buf = "11"
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 10:01:24
x)s~~
O{_cۋk짭k!gS7g(&eVhd($g$)h%i*XXlceMy
f
@hX 651p|0Ɏ{OY}/';^]|Sf>զ6@e';;&