add: unfinished code. people are having problems
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
// For more tutorials: https://blog.learngoprogramming.com
|
||||
//
|
||||
// Copyright © 2018 Inanc Gumus
|
||||
// Learn Go Programming Course
|
||||
// License: https://creativecommons.org/licenses/by-nc-sa/4.0/
|
||||
//
|
||||
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
a := [3]int{5, 4, 7}
|
||||
b := [3]int{6, 9, 3}
|
||||
|
||||
b = a
|
||||
|
||||
fmt.Println("b =>", b)
|
||||
|
||||
b[0] = 100
|
||||
fmt.Println("a =>", a)
|
||||
fmt.Println("b =>", b)
|
||||
}
|
Reference in New Issue
Block a user