Javatpoint Logo
Javatpoint Logo

Go Rune Type

The type rune is an alias for type int32. The rune literals are an integer value.

If you store string value in rune literal, it will provide the ASCII value of the character. For example, the rune literal of 'A' will be 65.

Go Rune Type Example

Output:

65
int32

Next TopicGo Map





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA