What is stored in ans as a result of the arithmetic expression, given the following declarations? int
Question:
What is stored in ans as a result of the arithmetic expression, given the following declarations?
int ans = 0, v1 = 10, v2 = 19;
ans = v2 % v1++;
a. 1.8
b. 9
c. 8
d. 2
e. none of the above
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
C# Programming From Problem Analysis To Program Design
ISBN: 9781285096261
4th Edition
Authors: Barbara Doyle
Question Posted: