Repeat Exercise E10, but use a nonzero value as described in Exercise E9
EXERCISE E9 TO E10
Does the program behave differently if we add 1 instead of subtracting 1 in the second statement? Try it while storing zeros and find out. Describe what happens.
Does the program behave differently if we store a nonzero value in the first statement in the while loop? For example, substitute 21845 (in hex, 0x5555, alternating 0s and 1s). Describe what happens. Try another numeric value and describe what happens.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here