Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

private void Form 2 _ Load ( object sender , EventArgs e ) { int [ ] aa = new int [ ] { 2

private void Form2_Load(object sender, EventArgs e)
{
int[] aa = new int[]{2,8,16,32};
int i;
for (i =0; i < aa.Length; i++)
{
label1.Text = aa[i]+"";
label2.Text = aa[(i +1)%3]+"";
label3.Text = aa[(i +2)%3]+"";
label4.Text = aa[(i +3)%3]+"";
}
}
The output on label1, label2, label 3 and label4 respectively is
a.
16
32
2
8
b.
16
32
8
2
c.
2
8
16
32
d.
32
8
16
2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Administration The Complete Guide To Dba Practices And Procedures

Authors: Craig S. Mullins

2nd Edition

0321822943, 978-0321822949

More Books

Students also viewed these Databases questions

Question

List three examples of special reports.

Answered: 1 week ago

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago