Question: 12. Consider the following statements struct rectangleData double length; double width; double area; double perimeter; rectangleData bigRect: Which of the following statements is valid in
12. Consider the following statements struct rectangleData double length; double width; double area; double perimeter; rectangleData bigRect: Which of the following statements is valid in C++? a. cin > bigRect: b. cin >> bigRect.length: c. perimeter -(length width); d. area lengthwidth; 13. Consider the following statements string str "ABCDEFD" string::size type position; After the statement position- str.find ('D') i executes, the value ofposition is b. 4 4. The components of a struct are called the b. identifiers d. members of the struct a. variables c. elenents Which of the following statements declares alpha to be an array of 25 components of the type int? a. int alpha [251; . int alpha [2] [5 b. int array alpha (25] d. int array alpha [25) [251
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
