Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can someone help me correct these problems the course is in c++ Multiple Choice (3 pts) 1. 11 variable is passed to function by this

can someone help me correct these problems the course is in c++

image text in transcribed

Multiple Choice (3 pts) 1. 11 variable is passed to function by this method the formal paramete receives only the address of the actual parameter (argument) A) by index B. by copy c. by reference D. by value (3 pts 2 If a variable is passed to a function by this method, the formal para receives only a copy of the actual parameter (argument) A by index B. by copy by reference D. by value (3 pts) 3. Which of the below would you use to write data to a file A cout B ofstream b C. ifstreamc D. None of the above (3 pts 4. A Which of the below is not a type of stream? ein B. ofstream b C. ifstream D. All of the above are streams (3 pts) 5. D Which of the following is true of arrays in C++ (as we've seen them so far). A. they store elements of a homogeneous (same) type B their size must be known at compile time S they are stored in contiguous (sequential, uninterrupted) locations in memory (D) all of the above E none of the above. 3 nte) 6 A In a function prototype/hender when passing an n dimensional array as a pa rameter (n = 1 is al dimensional array, n = 2 is a 2D array, etc.) how many dimensions must be provided in the function prototype/header. none (e g., arr ) and arr|| | B. one (e.g., arr(SIZE) and arr|| | [SIZE] C n (e.g., arr (SIZE) and arrSIZE 1[SIZE][SIZE3) D. n-1 (eg-, arr] and arr[J[SIZE2][SIZE3) E. you cannot pass arrays as parameters in C++

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

Mysql Examples Explanations Explain Examples

Authors: Harry Baker ,Ray Yao

1st Edition

B0CQK9RN2J, 979-8872176237

More Books

Students also viewed these Databases questions