
<h1>slice 1</h1>

<div id="question">

What does the following program print?

<pre class="line-numbers"><code class="language-go">package main

import "fmt"

func main() {
	a := [...]int{0, 1, 2, 3}
	x := a[:1]
	y := a[2:]
	x = append(x, y...)
	x = append(x, y...)
	fmt.Println(a, x)
}
</code></pre>
</div>


<input type="radio" id="choiceA" name="choice">
<input type="radio" id="choiceB" name="choice">
<input type="radio" id="choiceC" name="choice">
<input type="radio" id="choiceD" name="choice">

<div id=