The purpose of a function that returns "void" is:_________. A) To satisfy compiler warnings B) To package a repeated task as a f
unction even though the task does not yield a value C) To force a value to be returned in case the "return" statement is forgotten D) To insert a temporary implementation of a function that can be refined later
B) To package a repeated task as a function even though the task does not yield a value
Explanation:
The purpose of a function that returns "void" is to package a repeated task as a function even though the task does not yield a value. Since the function does not return any value, it control returns to the caller.
The answer is <span>output. </span>A file to which information is written is referred to as an output file. It is <span>a computer </span>file<span> that contains data that are the </span>output<span> of a device or program. </span>