Lucy wants to declare a function that can add two numbers but doesn't want to specify how it does it. What should she provide?

  • Function Argument
  • Function Call
  • Function Declaration
  • Function Definition
Lucy should provide a function declaration. A function declaration defines the function's name, return type, and parameter list without specifying the actual implementation or logic. This allows her to declare the function's existence and signature without writing the code for adding two numbers.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *