Question: struct rectanglebald double length; double width; double area; double perimeter: rectangleData bigRect: Which of the following statements is valid in C++? a. cin > bigRect:
struct rectanglebald 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 2 (length + width): d. area-length width; 14. In C+t, the symbol is an operator, called the member access operator. a. : (colon)b. . (dot) c., (comma) d. $ (dollar sign) 15. Consider the statement int 1ist [10] 18]:. Whi ch of the following about list is true? a. 1ist has 10 rows and 8 columns. b. list has 8 rows and 10 columns. c. list has a total of 18 components. d. 1ist has a total of 108 components. 16. The length of the string object "Hello Ther e." is a. 11 c. 13 b. 12 d. 14 17. A s truc t variable can be passed as a parameter a. only by const c. only by value b.only by reference d. either by value or by reference 18. Consider the following statements: string str"ABCDEFD" size t position; After the statement position s tr. find ( ' D ' ) ; executes, the value of pos ition is c. 6 d.7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
