Functions_Cards

Beschreibung

Cards on the theory behind C++ functions.
Tumelo Malebane
Karteikarten von Tumelo Malebane, aktualisiert vor 11 Monate
Tumelo Malebane
Erstellt von Tumelo Malebane vor 11 Monate
2
0

Zusammenfassung der Ressource

Frage Antworten
What is a function? A Block of code that performs a specific task.
What does it mean to define a function in C++? Defining a function in C++ involves specifying its name, return type (if any), parameter list (if any), and the code that should execute when the function is called
What are function paramters? The provide a way for storing values that will be used by the function.
There are two types of parameters and they are? Value and reference parameters
A function receives a copy of a value when a_______parameter is used. value
A function receives an address of a variable when a________parameter is used. reference
A function is called by its? name
A function header consists of how many elements? three
The return type of a function that will not be returning anything. void
1_____ functionName(_______){ } What sits at position 1? return type
_____ functionName(2_______){ } What sits at position 2? paramters/parameterlist
Function parameters are compulsory? (True/False) False, a function can exist without having any parameters.
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

L' offre - Phrases - Chapitre 3
Gaelle Bourgeois
Öff. Recht - Streitigkeiten Verwaltungsrecht AT
myJurazone
Hardware- und Gerätetechnik
DFairy
Grundlagen SAP ERP und SAP NetWeaver
zok42.com
51 Prüfungsfragen Physiogeographie
Giaco Como
GPSY ALPS
hf.meyer
Verben mit Präpositionen
Gamze Ü
Vetie Tierhaltung und -hygiene Quiz 2012
Elisabeth Tauscher
Histologie Schnitte Vetie
Kris Tina
Orthopädie Pferd Bildgebung Vetie
Fenja Joseph
Vetie Berufsrecht 2019
Mascha K.