Which keyword is used to declare constants in Go?
- const
- constant
- define
- let
The keyword used to declare constants in Go is const. Constants are declared like variables, but their value cannot be changed after declaration. They are immutable throughout the program.
Loading...