function pointer

[ˈfʌŋkʃən ˈpɔɪntər]
nounpl: function pointers
ponteiro de função
1. A variable that stores the memory address of a function, allowing the function to be called indirectly through the pointer
In C, you can declare a function pointer like this: int (*ptr)(int, int) to store the address of a function that takes two integers and returns an int.
Em C, você pode declarar um ponteiro de função assim: int (*ptr)(int, int) para armazenar o endereço de uma função que recebe dois inteiros e retorna um inteiro.
2. A programming construct used for dynamic function invocation, enabling callbacks and higher-order functions
Function pointers are commonly used in event-driven programming to register callback handlers.
Ponteiros de função são comumente usados em programação orientada por eventos para registrar manipuladores de retorno.
This is a technical term used primarily in computer science and software development contexts. In Brazil, 'ponteiro de função' is the standard terminology taught in computer science programs and used in professional software development, particularly in systems programming with C/C++. The concept is fundamental in low-level programming and is equally understood across English and Portuguese-speaking developer communities.
Synonyms / Sinônimos
function referencefunction addresscallable pointer

Regional Variations

General Brazilian
ponteiro de função
Standard technical term used in Brazilian programming education and industry
Portugal
apontador de função
Alternative Portuguese term using 'apontador' instead of 'ponteiro'
Technical Communities
ponteiro para função
Slightly more explicit variant emphasizing 'pointer to a function'

Related Words

pointercallbackfunction declarationmemory addressindirectionhigher-order function
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →