Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please fill in the blanks. 1. We call the pieces of information that are passed to a function, which it then uses to do its

Please fill in the blanks.

1. We call the pieces of information that are passed to a function, which it then uses to do its task a/an ___________.

2. A function may return __________ or __________ result(s). It may take __________ to __________ arguments.

3. List two differences between a function prototype and a function header:

___________________________________________________________

___________________________________________________________

4. Function prototypes are located ________________________________.

5. If a function does not return anything, then the return type on the function prototype and function header is _____________.

6. Consider the following program.

int main() int abc(int m) float xyz(float v, int k) { { { int a = 3, b; int i, j = 1; int i; float x = 2.0, y; float w = 1.0; b = abc(a); for(i=1; i<=m; i++) for(i=1; i<=k; i++, w *= v); y = xyz(x, a); j = j * i; return 0; } return j; return (w); } } 

When the program is completed, the value of b is __________ and the value of y is __________.

7. Complete the following sentence: If you declare an array to hold N values, legal subscripts run from _____ to ______.

8. Complete the following sentence: the unsubscripted name of an array is _______________________________.

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

Creating A Database In Filemaker Pro Visual QuickProject Guide

Authors: Steven A. Schwartz

1st Edition

0321321219, 978-0321321213

More Books

Students also viewed these Databases questions

Question

Explain the various inventory management techniques in detail.

Answered: 1 week ago

Question

What is paper chromatography?

Answered: 1 week ago

Question

2. How will you handle the situation?

Answered: 1 week ago