What is the output of the following code fragment?

int i=5;
switch(i)
{
case 0: i=15;break;
case 1: i=25;break;
case 2: i=35;break;
case 3: i=40;
default: i=0;
}
cout << i <
a. 15
b. 25
c. 35
d. 40
e. 0
f. 5


e. 0

Computer Science & Information Technology

You might also like to view...

________ is used to make a website easier to find by both people and software and increases a webpage ranking in search engine results

A) RSS B) SMM C) SEO D) IM

Computer Science & Information Technology

Within the Samba configuration module window, describe how the Start-up tab is used.

What will be an ideal response?

Computer Science & Information Technology

The default Required setting for all fields except the primary key field is Yes

Indicate whether the statement is true or false

Computer Science & Information Technology

The default Excel text style is the Arial body font.? ____________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology