Below is the code I have a query upon:
I have a single dimentional array a
I could not understand when i printing a[0][0]
then why it is returning ascii value of the character a
:
package main
import (
"fmt"
)
func main() {
a := [3]string{"a","b","c"}
fmt.Println(a[0][0])
}
Output: 97