Answer the following statements true (T) or false (F)
1. Void functions may have arguments.
2. Functions are executed in the order in which they are defined.
3. A precondition is a condition that must be true before the function is called.
4. The values in the function data area are kept after the function ends.
5. In the following program outline the name var1 is visible (can be referenced) in the function fun.
int fun (int a, int b);
int main ()
{
int var1;
…
}
int fun (int a, int b)
{
…
}
1. True
2. False
3. True
4. False
5. False
You might also like to view...
Text data types may contain a decimal number that can be used in calculations
Indicate whether the statement is true or false
A text file can be converted from tab delimited text to a Word table by selecting the ________ command that easily converts a tabbed file into a table
Fill in the blank(s) with correct word