Perform the task specified by each of the following statements:

a) Write the function header for function zero that takes a long integer array parameter bigIntegers and does not return a value.
b) Write the function prototype for the function in part (a).
c) Write the function header for function add1AndSum that takes an integer array parameter oneTooSmall and returns an integer.
d) Write the function prototype for the function described in part (c).


a) void zero( long bigIntegers[] ) or
void zero( long *bigIntegers )
b) void zero( long [] ); or
void zero( long * );
c) int add1AndSum( int oneTooSmall[] ) or
int add1AndSum( int *oneTooSmall )
d) int add1AndSum( int [] ); or int add1AndSum( int * );

Computer Science & Information Technology

You might also like to view...

Which of the following types of video can be compressed the most with temporal compression?

A. fast action B. slow, continuous motion

Computer Science & Information Technology

A collection whose elements are pairs of keys and values is called

A) an enumerator B) a map C) a hash list D) a paired collection

Computer Science & Information Technology

When evaluating the validity of information found on websites, which of the following is FALSE?

A) You should assess that all web pages contain at least some valid information. B) You should verify information with other online and non-web sources. C) You should determine whether the information is biased. D) You should see if the site has the date when it was published.

Computer Science & Information Technology

List five conventions that should be followed when using structured English.

What will be an ideal response?

Computer Science & Information Technology