Question 1
Given the following declarations, which of the following variables are arrays?
◦ a
◦ a and b
◦ a and d
◦ a, b and d
◦ a, b, c and d
Question 2
If a and b are both int arrays, then a = b; will
◦ create an alias
◦ copy all elements of b into a
◦ copy the 0
th element of b into the 0
th element of a
◦ return true if each corresponding element of b is equal to each corresponding element of a (that is, a[0] is equal to b[0], a[1] is equal to b[1] and so forth) and return false otherwise
◦ return true if a and b are aliases and return false otherwise