logo

Crowdly

Browser

Add to Chrome

Дан фрагмент кода на языке Go. Что будет выведено на экран в результате исполнен...

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

Дан фрагмент кода на языке Go. Что будет выведено на экран в результате исполнения этого фрагмента?

type A struct

{

value

int

}

func (a *A)

set(val int

){

a.value = val

}

type B

struct

{

A

value

int

}

func main() {

var obj B

obj.

set(5

)

fmt.Print(obj.value)

}

0%
0%
More questions like this

Want instant access to all verified answers on moodle.cfuv.ru?

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

Browser

Add to Chrome