Which of the following statements are true If a function is
Which of the following statements are true?
If a function is expecting a variable of the base type of the array, then you can pass an element of the array to the function.
Array elements may be user-defined types (structs or classes).
all of the above
none of the above
| If a function is expecting a variable of the base type of the array, then you can pass an element of the array to the function. | ||
| Array elements may be user-defined types (structs or classes). | ||
| all of the above | ||
| none of the above |
Solution
Answer: all of the above
Below two statements are correct
If a function is expecting a variable of the base type of the array, then you can pass an element of the array to the function.
Array elements may be user-defined types (structs or classes).
