1.

What is the syntax for creating a function?

Answer»

FUNC function_name( [PARAMETER list] ) [return_types] {
     // the body of the function
}

39. How we can print type of a variable in Go Programming?

var x, y, z = 3, 4, "FOO"
fmt.Printf("x is of type %Tn", x)



Discussion

No Comment Found