undeclaredfunction
nounUK /ˌʌndɪˈkleəd ˈfʌŋkʃən/
US /ˌʌndɪˈklerd ˈfʌŋkʃən/
A function that a program tries to use but was never told about.
The compiler stopped with an error because the code called an undeclared function.
RELATED WORDS
OTHER MEANINGS
2. A subroutine that is used before it is defined or announced in the source code.
In C, calling an undeclared function can lead to a warning or an error.
3. A missing piece of code that a program expects to exist but cannot find.
The linker reported an undeclared function while building the project.
4. A name used as a function without any prior statement giving its type or existence.
The teacher explained that an undeclared function must be declared before it is called.