User Defined Functions and Parameters

0.0(0)
studied byStudied by 0 people
0.0(0)
call with kaiCall with Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/15

flashcard set

Earn XP

Description and Tags

These flashcards cover key vocabulary and concepts related to user-defined functions and parameters in C++ programming.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No study sessions yet.

16 Terms

1
New cards

User-Defined Function

A block of code defined by the programmer to perform a specific task.

2
New cards

Void Function

A function that does not return a value.

3
New cards

Function Prototype

A declaration of a function that specifies the function's name, return type, and parameters, without including the body.

4
New cards

Parameter

A variable used in a function definition to accept values when the function is called.

5
New cards

Argument

The actual value passed to a function's parameter when it is called.

6
New cards

Function Overloading

The ability to define multiple functions with the same name but different parameters.

7
New cards

Built-in Function

Predefined functions in a programming language that can be used directly by the programmer.

8
New cards

Library Function

Functions that are part of a library of code, which can be included and used in a program.

9
New cards

Return Statement

A statement used in functions to return a value to the calling function.

10
New cards

Local Variable

A variable that is defined within a function and is only accessible within that function.

11
New cards

Seed (in Random Number Generation)

An initial value used to start the random number generation process to ensure different outputs every time.

12
New cards

Default Argument

A value that is automatically passed to a function when no argument is provided for that parameter.

13
New cards

Function with no argument and no return value

A function that does not take any parameters and does not return any value.

14
New cards

Function with arguments but no return value

A function that takes parameters but does not return a value.

15
New cards

Function with arguments and return value

A function that takes parameters and returns a value.

16
New cards

Function with no arguments but return value

A function that does not take parameters but returns a value.