logo

Crowdly

Browser

Add to Chrome

Проаналізуйте наведену нижче програму і вкажіть результат після спроби запустити...

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

Проаналізуйте наведену нижче програму і вкажіть результат після спроби запустити програму на компіляцію і виконання:

using System;

class Program

{

static int [] a = new int [] {10, 30, 20};

public delegate void F();

public static void R() {Array.Reverse (a); }

public static void S() {Array.Sort (a); }

public static void M() {int buf = a [0]; a [0] = a [a.Length - 1]; a [a.Length - 1] = buf; }

static void Main ()

{

F f = new F (R); f + = S; f - = R; f - = S; f();

for (int i = 0; i

}

}

C# oop_class

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

Want instant access to all verified answers on moodle.chnu.edu.ua?

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

Browser

Add to Chrome