Answer the following statements true (T) or false (F)
1. If a function is expecting a pass by reference parameter, you can pass an index variable from an array of the same base type to that function.
2. When you have a function that expects an array, it should also expect the size of the array or the number of indexed variables with valid data.
3. The following function declaration guarantees the values in the array argument are not changed.
void function1(int array[], int numElements);
4. The following function will work with any size integer array.
void function1(int array[], int numElements);
5. If you use the const modifier in a function declaration, you do not include it in the function definition.
1. TRUE
2. TRUE
3. FALSE
4. TRUE
5. FALSE
You might also like to view...
The Style pane launcher can be accessed from the ________ tab
A) Insert B) Page Layout C) Home D) Design
A junior network administrator tells you that he can ping a DNS server successfully using its IP address, but he has not tested domain name lookups. What utility on the command line would you suggest your colleague use next?
A. ipconfig B. nbtstat C. traceroute D. nslookup