Sail E0 Webinar
Question
What is the output of the following code snippet?package mainimport "fmt"func main() { x := 1 y := &x fmt.Println(*y) *y = 2 fmt.Println(x)}
Options:
A .  1
B .  28
C .  15
D .  27
Answer: Option B





Submit Your Solution Below and Earn Points !

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers