Examlex

Solved

What Is the Output of the Following Code Fragment If \quad

question 10

Multiple Choice

What is the output of the following code fragment if the input value is 4? int num;
Int alpha = 10;
Cin >> num;
Switch (num)
{
Case 3:
\quad Alpha++;
\quad Break;
Case 4:
Case 6:
\quad Alpha = alpha + 3;
Case 8:
\quad Alpha = alpha + 4;
\quad Break;
Default:
\quad Alpha = alpha + 5;
}
Cout << alpha << endl;


Definitions:

Sustainability Balanced Scorecard

A balanced scorecard on which a company’s CSR strategic objectives have been integrated into the four perspectives of learning and growth, internal processes, customer, and financial.

Corporate Social Responsibility

The practice of a company taking responsibility for its effects on environmental and social well-being.

Corporate Social Responsibility

A business strategy that ensures a company is responsible to its stakeholders, itself, and the public in a social context.

Capital Investments

Funds used by a firm to purchase, upgrade, and maintain physical assets such as property, industrial buildings, or equipment.

Related Questions