Quiz: Data Types

Test your understanding of data types in Go.

We'll cover the following...
Technical Quiz
1.

What will be the output of the following code?

package main

var unusedGlobal int 

func main() {
}
A.

This code will not compile because there is an unused variable.

B.

This code will compile successfully.

C.

Syntax error.

D.

Both A & C.


1 / 11
...