1/15
These flashcards cover key vocabulary and concepts related to user-defined functions and parameters in C++ programming.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No study sessions yet.
User-Defined Function
A block of code defined by the programmer to perform a specific task.
Void Function
A function that does not return a value.
Function Prototype
A declaration of a function that specifies the function's name, return type, and parameters, without including the body.
Parameter
A variable used in a function definition to accept values when the function is called.
Argument
The actual value passed to a function's parameter when it is called.
Function Overloading
The ability to define multiple functions with the same name but different parameters.
Built-in Function
Predefined functions in a programming language that can be used directly by the programmer.
Library Function
Functions that are part of a library of code, which can be included and used in a program.
Return Statement
A statement used in functions to return a value to the calling function.
Local Variable
A variable that is defined within a function and is only accessible within that function.
Seed (in Random Number Generation)
An initial value used to start the random number generation process to ensure different outputs every time.
Default Argument
A value that is automatically passed to a function when no argument is provided for that parameter.
Function with no argument and no return value
A function that does not take any parameters and does not return any value.
Function with arguments but no return value
A function that takes parameters but does not return a value.
Function with arguments and return value
A function that takes parameters and returns a value.
Function with no arguments but return value
A function that does not take parameters but returns a value.