call by reference

[kɔːl baɪ ˈrɛfərəns]
noun
chamada por referência
1. A programming mechanism where a function or method receives a reference (memory address) to the original variable instead of a copy of its value, allowing the function to modify the original variable
In C++, when you use call by reference with the & operator, changes made to the parameter affect the original variable.
Em C++, quando você usa chamada por referência com o operador &, as mudanças feitas no parâmetro afetam a variável original.
2. A parameter passing mechanism where the memory address of an argument is passed to a function rather than its value
Call by reference is useful when you need a function to modify the values of variables in the calling code.
Chamada por referência é útil quando você precisa que uma função modifique os valores de variáveis no código chamador.
This is a fundamental concept in computer science education and professional programming. In Brazil, it is taught extensively in computer science programs and is commonly used in languages like C, C++, and Java. The term is standardized across both Brazilian and international programming communities.
Synonyms / Sinônimos
pass by referencereference passingindirect parameter passing
Antonyms / Antônimos
call by valuepass by value

Regional Variations

General Brazilian Portuguese
chamada por referência
Standard technical term used in Brazilian computer science education and industry
Portugal
chamada por referência
Same term used in Portugal, though less commonly discussed due to smaller tech sector
Technical Communities
passagem por referência
Alternative form sometimes used, emphasizing the 'passing' aspect

Related Words

pointerreference variablecall by valueparameter passingfunction argumentmemory address

Related Idioms & Phrases

pass the buck by reference
reference a function
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →