Consider the following statements: 
struct rectangleData{  double length;  double width;  double area;  double perimeter;}; 
rectangleData bigRect;rectangleData smallRect;Which of the following statements is legal in C++?

A. if (bigRect == smallRect)
B. if (bigRect != smallRect)
C. if (bigRect.length == width)
D. if (bigRect.length == smallRect.width)


Answer: D

Computer Science & Information Technology

You might also like to view...

Annotate the lines of output of the SolveTowers program in this chapter to show the recursive steps.

What will be an ideal response?

Computer Science & Information Technology

If sizing handles enclose a group of pictures, the pictures can be formatted and edited as a single object

Indicate whether the statement is true or false

Computer Science & Information Technology

A Web crawler uses a search _______ to traverse the Web.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which of the following security awareness training is BEST suited for data owners who are concerned with protecting the confidentiality of their data?

A. Social networking use training B. Personally owned device policy training C. Tailgating awareness policy training D. Information classification training

Computer Science & Information Technology