Solved

Consider the Following Struct Definition: Struct RectangleData

Question 18

Multiple Choice

Consider the following struct definition: struct rectangleData
{
Double length;
Double width;
Double area;
Double perimeter;
};
Which of the following variable declarations is correct?


A) rectangle rectangleData;
B) struct rectangleData() ;
C) rectangleData myRectangle;
D) rectangleData rectangle = new rectangleData() ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions