Answer the following statements true (T) or false (F)
1. If b is an array with type int elements, then the statement
b += 5;
adds five to each element of b.
2. If b is an array with type int elements and the value of b[4] is 3, then the statement
printf("%d\n", b[b[4] - 1]);
displays one less than the value of b[3].
3. If b is an array of integer elements, then the statement
b[3] *= 2;
doubles the value of b[3].
4. It is common for array elements to be stored in adjacent memory cells but it is not necessary.
5. The statement
double r[] = {2.87, 3.14159, 9.5};
is legal.
1. False
2. False
3. True
4. False
5. True
You might also like to view...
In the most successful e-commerce models, ______ involves consumers and businesses paying to purchase physical goods, information, or services that are posted or advertised online.
Fill in the blank(s) with the appropriate word(s).
Referring to the figure below, please identify the letter of the choice that best matches the numbered area on the screen.
A. Attribute B. Opening tag C. Content D. Closing tag E. Element
It is a good idea to place the equipment room in a high-humidity area.
Answer the following statement true (T) or false (F)
?A virtual circuit breaks a large amount of data intonpackets.
Answer the following statement true (T) or false (F)