Question: A. Circle if the statement is true and ?if the statement is false. (20 Points-4 Each) TIF When a function is called, flow of control
A. Circle if the statement is true and ?if the statement is false. (20 Points-4 Each) TIF When a function is called, flow of control moves to the function's prototype. TF2) It is possible for a function to have some parameters with default arguments and some without. T/F 3) Global variables are initialized to zero by default 4) One reason for using functions is to break programs into manageable units, or TIF modules 5) A static variable that is defined within a function is initialized only once, the first time TIF the function is called B. Answer the following questions. (20 Points, 4 Each) 1) Look at the following function prototype. int myFunction (double); What is the data type of the function's return value? a) int b) double c) void d) Can't tell from the prototype 2) Here is the header for a function named computeValue: void computeValue (int value) Which of the following is a valid call to the function? a) computeValue(10) b) computeValue(10); c) void computeValue(10); d) void computeValue(int x)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
