Question #162

Author: admin
tags: Go  
package main

import "fmt"

func main() {
	var s string = "love"
	var x int = 10
	doSomething(&s, &x)

	fmt.Println(s, x) // ??
}

func doSomething(str *string, num *int) {
	*str = "peace"
	*num = 20
}
What will be printed?
love 10
love 20
peace 10
peace 20
Rate the difficulty of the question:
easyhard