When you provide the necessary details about a function without its actual implementation, it's called function ______.

  • Declaration
  • Invocation
  • Definition
  • Execution
When you provide the necessary details about a function without its actual implementation, it's called "Definition." In a function definition, you specify the function's name, return type, parameter list, and what the function should do when called. The other options have different meanings: Declaration is a statement that tells the compiler about a function's name and signature, Invocation is the act of calling a function, and Execution is the process of running the function's code.
Add your answer
Loading...

Leave a comment

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