Consider the following statements:
struct rectangleData{
double length; double width; double area; double perimeter;};rectangleData bigRect;
Which of the following statements correctly initializes the component length of bigRect?
A. bigRect = {10};
B. bigRect.length = 10;
C. length[0]= 10;
D. bigRect[0]= 10
Answer: B
You might also like to view...
A Java collection
A) is a class that is defined in the java.awt package B) is an abstract class in the java.collect package C) is an object that is used as a container for other objects D) None of the above
To select adjacent columns you can click the first column header, press and hold the _________, and click the last header. A. Alt key B. Shift key C. Ctrl key D. Tab key
Fill in the blank(s) with the appropriate word(s).
Which of the following is NOT true about variables?
A. Their values can change during execution. B. Before using a variable for the first time, the program must declare its type. C. The type of data a variable contains can be changed. D. All of the above are true.
Like the one in the accompanying figure, a(n) ____________________ website uses a diary or journal format, and is an informal site consisting of time-stamped articles.
Fill in the blank(s) with the appropriate word(s).