Examlex

Solved

What Is the Value of Ans, X, and Y After

question 29

Multiple Choice

What is the value of ans, x, and y after the following statements are executed?
int ans = 0, x = 15, y = 25;
If ( x >= y)
{
Ans = x + 10;
X -=y;
}
Else
{
Ans = y + 10;
Y += x;
}


Definitions:

Indicators Of Performance

Quantitative or qualitative measurements used to evaluate and track the efficiency, effectiveness, or success of an individual, group, or organization's activities.

Self-Appraisals

An evaluation process where employees assess their own job performance, strengths, and areas for improvement.

Job-Related Feedback

Information provided to an employee about their performance or behaviors that directly pertain to their job duties and responsibilities.

Performance Measures

The ratings used to evaluate employee performance.

Related Questions