This is for C i will rate right away Thank you 8 Select the

This is for C++, i will rate right away! Thank you

8) Select the four statements that are true about functions:

A) A function can only return one value

B) You are limited in the number of functions you can write in a project

C) A function should try to accomplish as many tasks as possible to limit memory usage

D) A function can call itself, this is known as Recursion

E) If a function has parameters, they must be provided when the function is called or it will cause an error

F) A function uses logic to loop a certain section of code multiple times

G) A function cannot have multiple return statements

H) Functions allow us to cut down repeated code by refactoring frequently used routines into re-usable functions.

Solution

A) A function can only return one value

D) A function can call itself, this is known as Recursion

E) If a function has parameters , they must be provided when the function is called or it will cause an error

H) Functions allow us to cut down repeated code by refactoring frequently used routines into re-usable functions.

This is for C++, i will rate right away! Thank you 8) Select the four statements that are true about functions: A) A function can only return one value B) You a

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site