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...

When filtering data, the ________ method creates a blank table for the selected table. This blank table contains all the fields of the table with a list for each field

Fill in the blank(s) with correct word

Computer Science & Information Technology

A domain is a unique web address that identifies where your website can be found.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology