Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

struct rectanglebald double length; double width; double area; double perimeter: rectangleData bigRect: Which of the following statements is valid in C++? a. cin > bigRect:

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Fred R. McFadden, Jeffrey Slater, Mary B. Prescott

5th Edition

0805360549, 978-0805360547

More Books

Students also viewed these Databases questions