Why is -1L < 1UL true in C?

前端 未结 0 615
离开以前
离开以前 2021-01-15 14:57

I have a question while reading The c Langueage programming.

This book says that printf("%d", -1L < 1UL) results in 0 because -1L is promote

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