Examlex

Solved

What Will Be the Value of X After the Following

question 43

Multiple Choice

What will be the value of x after the following code is executed?
int x = 10, y = 20;
While (y < 100)
{
X += y;
Y += 20;
}


Definitions:

Dentition

The arrangement or condition of the teeth within the mouth, including their number, type, and structure.

Molars

Large, flat teeth located at the back of the mouth, used for grinding and chewing food.

Cats

Domesticated felines known for their agility, curiosity, and independence, widely kept as pets or for controlling pests.

Humans

Homo sapiens, the species of bipedal primates to which modern human beings belong, characterized by a large brain and capacity for complex language, thought, and social organization.

Related Questions