How to printf “unsigned long” in C?

后端 未结 7 476
有刺的猬
有刺的猬 2020-11-28 01:08

I can never understand how to print unsigned long datatype in C.

Suppose unsigned_foo is an unsigned long, then I try:

相关标签:
7条回答
  • 2020-11-28 01:37

    For int %d

    For long int %ld

    For long long int %lld

    For unsigned long long int %llu

    0 讨论(0)
提交回复
热议问题