What do 0LL or 0x0UL mean?

前端 未结 5 1116
离开以前
离开以前 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:36

    +In C-like languages, those suffixes tell you the exact type. So, for example. 9 is an int variable, but 0LL is a long long

提交回复
热议问题