For each of the following expressions, indicate the order in which the operators will be evaluated by writing a number beneath each operator.
a. a – b – c – d
b. a – b + c – d
c. a + b / c / d
d. a + b / c * d
e. a / b * c * d
f. a % b / c * d
g. a % b % c % d
h. a – (b – c) – d
i. (a – (b – c)) – d
j. a – ((b – c) – d)
k. a % (b % c) * d * e
l. a + (b – c) * d – e
m. (a + b) * c + d * e
n. (a + b) * (c / d) % e
a. 1 2 3
b. 1 2 3
c. 3 1 2
d. 3 1 2
e. 1 2 3
f. 1 2 3
g. 1 2 3
h. 2 1 3
i. 2 1 3
j. 3 1 2
k. 2 1 3 4
l. 3 1 2 4
m. 1 2 4 3
n. 1 3 2 4
You might also like to view...
In the array declaration double score[5]; identify the following:
a) The array name b) The base type c) The declared size of the array d) The smallest and largest index values this array can have. e) Give one of the indexed variables (a.k.a. elements) of this array.
List the commands to configure the IP address for the default interface VLAN 1. The IP address should be set to 10.10.20.1 with subnet mask 255.255.255.0.
What will be an ideal response?