Answers for "golang multiple variable declaration"

Go
0

golang multiple variable declaration

package main

import "fmt"

func main() {
    a, b := "a", "b"; //Declare And Assign
    var c, d string;  //Declare Only
    fmt.Println(a,b);
    fmt.Println(c,d);
}
Posted by: Guest on May-02-2020

Code answers related to "golang multiple variable declaration"

Browse Popular Code Answers by Language