已采納回答 / 卜夋
常量是不可改變的量,一經定義就不可更改,變量分為局部變量和全局變量,主要是作用域不同。局部變量只能在函數體或者說作用域內使用,全局變量可以在全局使用。希望我說清楚了。
2019-05-27
我覺得后面關于“類型存儲大小”的介紹那張圖,不應該那樣畫。int存儲大小是128位,“123”這個值存進去之后,其實還有5個位是空的
2019-05-26
最贊回答 / Leon_SK
In Go, enumerated constants are created using the?iota?enumerator. Since?iota?can be part of an expression and expressions can be implicitly repeated, it is easy to build intricate sets of values.Here is one example I found, hope it might be useful for yo...
2019-05-05