Question 6 A variables indicates which portions of a progra

Question 6

A variable’s _____ indicates which portions of a program can use the variable.
      
lifetime
      
range
      
scope
      
span

------------------------------------------
Question 7

Each memory location listed in the parameter list in the function header is referred to as _____.
      
an actual argument
      
an actual parameter
      
a formal argument
      
a formal parameter

------------------------------------------

Question 8

The function header specifies _____.
      
the data type of the function’s return value
      
the name of the function
      
the function’s formal parameters
      
all of the above

------------------------------------------
Question 9

A function whose header is double calcShipping() is an example of a _____ function.
      
value-returning
      
void

Solution

6)

A variable’s _____ indicates which portions of a program can use the variable.

Ans: lifetime

7)

Each memory location listed in the parameter list in the function header is referred to as _____.

Ans: an actual argument

8)

The function header specifies _____.

Ans: the name of the function

9)

A function whose header is double calcShipping() is an example of a _____ function.

Ans: value-returning

Question 6 A variable’s _____ indicates which portions of a program can use the variable. lifetime range scope span ------------------------------------------ Q
Question 6 A variable’s _____ indicates which portions of a program can use the variable. lifetime range scope span ------------------------------------------ Q

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site