Examlex

Solved

What Will Be the Values of Ans,x,and Y After the Following

question 10

Multiple Choice

What will be the values of ans,x,and y after the following statements are executed? int ans = 35,x = 50,y =50;
If ( x >= y)
{
Ans = x + 10;
X -=y;
}
Else
{
Ans = y + 10;
Y += x;
}


Definitions:

Absolute Certainty

The state of being completely confident or sure about something, with no room for doubt.

Scientific Investigator

A person engaged in systematic inquiry or research to discover new information or understanding in the field of science.

Null Hypothesis

A default hypothesis that there is no significant difference or effect, often tested against an alternative hypothesis in statistical analysis.

Related Questions