- Hands-On System Programming with Go
- Alex Guerrieri
- 59字
- 2021-06-24 13:42:21
Handling variables
Variables represent mapping to the content of a portion of contiguous memory. They have a type that defines how much this memory extends, and a value that specifies what's in the memory. Type can be basic, composite, or custom, and its value can be initialized with their zero-value by a declaration, or with another value by assignment.