How to convert an integer to string with leading zeros in C?

前端 未结 0 546
旧巷少年郎
旧巷少年郎 2020-12-04 02:54

How can I convert an integer to a string in C and include a leading zero if the integer has only one digit? The result is needed to print to an LCD

相关标签:
回答
  • 消灭零回复
提交回复
热议问题