Question: Question 1 The declaration statement for a function is referred to as a function prototype . Question 1 options: True False Question 2 Select the

Question 1

The declaration statement for a function is referred to as a function prototype.

Question 1 options:

True
False

Question 2

Select the syntactically correct C code for a function prototype.

Question 2 options:

someAverage = getAverage( a, b, c);

float getAverage( int, int, int);

float getAverage( int x, int y, int z)

none of these

float getAverage( x, y, z );

Question 3

Select the syntactically correct C code for a function header.

Question 3 options:

none of these

float getAverage( int x, int y, int z)

someAverage = getAverage( a, b, c);

float getAverage( int, int, int);

float getAverage( x, y, z );

Question 4

Select the syntactically correct C code for a function call.

Question 4 options:

float getAverage( x, y, z );

float getAverage( int x, int y, int z)

someAverage = getAverage( a, b, c);

none of these

float getAverage( int, int, int);

Question 5

rand() is a C standard library function defined in the stdlib.h header file.

Question 5 options:

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!