What do 0LL or 0x0UL mean?

前端 未结 5 1115
离开以前
离开以前 2020-12-04 21:57

I am reading the Google Go tutorial and saw this in the constants section:

There are no constants like 0LL or 0x0UL

I tried to d

5条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 22:54

    0LL is a long long zero.

    0x0UL is an unsigned long zero, expressed using hexadecimal notation. 0x0UL == 0UL.

提交回复
热议问题