Question: Question 1 What does the letter D look like inside the computer? d D decimal 68 decimal 100 Question 2 The return type void indicates

Question 1

What does the letter "D" look like inside the computer?

d

D

decimal 68

decimal 100

Question 2

The return type void indicates that the function will return ______.

the null address

an integer

more than one value

nothing

Question 3

A function (say function1) can have more than one list of possible arguments/parameters when being called.

Example: function1(myNum); //call function 1

function1(myString); //call function 1

function1(myNum,MyString); //call function 1

true

false

Question 4

The arguments in a function calling statement must match the arguments in the function's header ________________________.

in number, order, and type

in number and type only

in number, order, and name

in number and order only

Question 5

A table is defined as int Array[500]={1,2} How many zeros are in the table?

No zeros are in the table.

1

2

498

500

Question 6

The body of a function must be coded above the main routine.

true

false

Question 7

What is the subscript of the last element in the array Table if is defined as follows: float Table[30];

30

31

29

0

Question 8

What is used to show a call by reference?

& is coded on the call to the function

& is coded on the function prototype

The data type is coded on the function prototype.

Const is coded on the function prototype.

Question 9

I want to pass an int to a function. I want the function to change the value of my int. I will do a :

call by reference

call by value

call by address

call by parameter

Question 10

When you call a function and pass an array, a copy of the array is made in the function.

true

false

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!