Question #244

Author: admin
tags: Go  
The copy built-in function copies elements from a source slice into a destination slice:
package main

import "fmt"

func main() {
	sliceDest := []int{21, 22}
	sliceSource := []int{5, 6, 7}
	copy(sliceDest, sliceSource)
	fmt.Println(sliceDest) // ??
}
What will be printed?
[5 6 7]
[21 22]
[5 6 7 21 22]
[21 22 5 6 7]
[5 6]
[21 22 7]
Rate the difficulty of the question:
easyhard