Question #157

Author: admin
tags: Go  
package main

import "fmt"

func main() {
	slice := []string{"a"}

	changeSlice(slice)

	fmt.Println(slice[0]) // ??
	fmt.Println(slice)    // ??
}

func changeSlice(slice []string) {
	slice[0] = "b"
	slice = append(slice, "d")
	slice[0] = "c"
}
What will be printed?
a
[a]
a
[a d]
b
[b]
b
[b d]
c
[c]
c
[c d]
Rate the difficulty of the question:
easyhard