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.
Loading...
Related Quiz
- C++ was initially called _______ during its early development phase.
- The memory allocated for a struct is equal to the sum of the memory of its individual members, considering _______.
- When an array is passed to a function, it is always passed by _______.
- Carlos is designing a header-only library. Why might he use inline functions in this scenario?
- The concept of encapsulation involves bundling the data () and the methods () that operate on the data into a single unit.