(True or False) State whether the following are true or false. If false, explain why. a) Two pointers that point to different arrays cannot be compared meaningfully.
b) Because the name of an array is a pointer to the first element of the array, array names can be manipulated in precisely the same manner as pointers.
Solution:
a) True
b) False, array names cannot be assigned as pointers can.
b) Because the name of an array is a pointer to the first element of the array, array names can be manipulated in precisely the same manner as pointers.
Solution:
a) True
b) False, array names cannot be assigned as pointers can.
Post A Comment:
0 comments: