What is the purpose of declaring a function in a program?
To specify to the compiler what the function does and what type of data it receives and ...
What is the purpose of declaring a function in a program?
To specify to the compiler what the function does and what type of data it receives and returns. To execute the commands inside the function. To allocate memory for the variables used in the function. a) Only I is correct. b) Only II is correct. c) Only III is correct. d) I and II are correct. e) I, II, and III are correct.
A declaração de uma função em um programa serve para especificar ao compilador o que a função faz e qual tipo de dados ela recebe e retorna. Portanto, a alternativa correta é a letra "a) Apenas I está correta".
0
0
✏️ Responder
Para escrever sua resposta aqui, entre ou crie uma conta
Compartilhar