Middle
What happens if a function accepts a double data type, but a function instead of a number is passed as an argument?
sobes.tech AI
Answer from AI
A compilation error will occur. The argument type (function) is incompatible with the expected parameter type (Double). The compiler will not allow the project to be built.