Advertisements
Advertisements
Question
If 0 < i before the assignment i := i - 1 after the assignment, we can conclude that ______
Options
0 < i
0 ≤ i
i = 0
0 ≥ i
MCQ
Fill in the Blanks
Solution
If 0 < i before the assignment i := i - 1 after the assignment, we can conclude that 0 ≤ i.
shaalaa.com
Abstraction
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
If i = 5 before the assignment i := i - 1 after the assignment, the value of i is ______
Initially, farmer, goat, grass, wolf = L, L, L, L, and the farmer crosses the river with a goat. Model the action with an assignment statement.
What is abstraction?
What is the form and meaning of the assignment statement?
What is the difference between the assignment operator and the equality operator?