logo

Crowdly

Browser

Add to Chrome

Which is the output of the following code in GO package main import ( "f...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Which is the output of the following code in GO

package main

import (

"fmt"

"sync"

)

var mm = sync.WaitGroup{}

func main() {

        

        canal := make(chan float32)

        mm.Add(2)

        go func() {

            k:= <- canal

            fmt.Printf("%v, %T", k,k)

            mm.Done()

        }()

        go func(){

           canal <- 42.

           mm.Done()

        }()

        

}

0%
0%
100%
0%
More questions like this

Want instant access to all verified answers on online.upr.edu?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome