Only is possible if the current datatype is less than the wordsize on the current architecture. In pass by value a new address space is used for parameter in a function that have the exact same value as the argument.
Functions are given a copy of a value. This means it cannot alter the original value. Applies for:Drawing 2025-01-15 12.07.03.excalidraw
⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠
Text Elements
0x2829
20
0x282a
20
variable in main
variable in function
Link to original
- int
- bool
- char
- double/float