What will be the results after the following code is executed?

```
int[] x = { 55, 33, 88, 22, 99, 11, 44, 66, 77 };
int a = 10;
if(x[2] > x[5])
a = 5;
else
a = 8;
```

a. a = 5
b. a = 8
c. a = 10
d. a = 13


a. a = 5

Computer Science & Information Technology

You might also like to view...

Consider the class definition:

``` class IntPair { int first; int second; public: IntPair(int firstValue, int secondValue); // prefix operator++ here // postfix operator ++ here int getFirst( ) const; int getSecond( ) const; }; ``` a) Give declarations for prefix and postfix versions of operator++ b) Give definitions for prefix and postfix versions of operator++

Computer Science & Information Technology

The first thing you should focus on when creating a presentation is the ________

A) audience B) content C) design D) slide layout

Computer Science & Information Technology

Images that are no longer protected by copyright law are in the ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

There are a variety of slide transitions from which you choose that allow you to control the _____________ and __________ with which the slides advance.

a. speed, method b. speed, design c. design, flow d. direction, method

Computer Science & Information Technology