Login with Google
Introducing GO
Test your basic concepts of Golang!
1.- Which of the following are valid ways to comment Go code?
1.
// Comment here
2.
~Comment here
3.
/* Comment here */
4.
- Comment here
2.- What is true about functions in Go?
1.
A funciont must have at least an input parameter
2.
Returning an output is optional
3.
You can't call a function inside other function
4.
None of the above
3.- Regarding types in go...
1.
Go is statically typed
2.
A variable type may be changed
3.
A variable type may mute
4.
Go is not statically typed
4.- If a variable is set as "byte" type
1.
It is an alias of uint8
2.
It is a regular go type
3.
It doesn't exist
4.
It is an alias of float32
Submit the answers