Fri Nov 11, 2011 12:34 pm
Ok now can u tell me how to solve dis whole question...i've got to do my assignment..please guide me..here's the question,
1.Assume that int a = 1 and double d = 1.0, and that each expression is independent. What are the
results of the following expressions?
a = 46 / 9;
a = 46 % 9 + 4 * 4 - 2;
a = 45 + 43 % 5 * (23 * 3 % 2);
a %= 3 / a + 3;
d = 4 + d * d + 4;
d += 1.5 * 3 + (++a);
d -= 1.5 * 3 + a++;
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.