Answer the following statements true (T) or false (F)
1. If A is an array of integer elements, then the statement
A = A + 1;
adds 1 to each element of A.
2. If A is an array of integer elements, then the statement
A[3] = A[3] + 1;
adds 1 to the third element of array A.
3. Most array subscripts are of type float.
4. If A and B are arrays of the same data type, then the statement
A = B;
copies each element of B to the corresponding element of A.
5. If b is an array of integer elements, then the statement b[3] *= 2;
doubles the value of b[3].
1. False
2. False
3. False)
4. False
5. True
You might also like to view...
You must use both the digital signature and signature line to authenticate an important document
Indicate whether the statement is true or false
To the extent that creativity is _______, a computer can be creative.
Fill in the blank(s) with the appropriate word(s).