Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Passing by value?

Definition 3.2 University Computer Science — Year 1 · Hoofdstuk 3 — Functions and the Call Stack

C passes every argument by value: at a call, each argument expression is evaluated and its value is copied into the corresponding parameter, which is a new variable of the called function. An assignment to a parameter changes the copy, never the caller’s variable.

Lees in het hoofdstuk →