Exercise: Deduce the Outputs
In this lesson, your concepts will be evaluated through a quiz.
We'll cover the following...
We'll cover the following...
Choose one correct answer.
1.
What will the following function return for x=2
and y=5
?
func isGreater(x, y int) bool {
if x > y {
return true
}
return false
}
A.
True
B.
False
C.
None of the above
1 / 15
We hope that you ...