Buscar

What is the purpose of the 'return' keyword in C functions? The 'return' keyword is used to declare the type of the function. The 'return' keyword...

What is the purpose of the 'return' keyword in C functions?

The 'return' keyword is used to declare the type of the function.
The 'return' keyword is used to declare the parameters of the function.
The 'return' keyword is used to indicate the value that the function will return to the calling routine.
a) Only statement I is correct.
b) Only statement II is correct.
c) Only statement III is correct.
d) Statements I and II are correct.
e) Statements II and III are correct.

Essa pergunta também está no material:

Faculdade_de_Ciencias_Aplicadas_de_Casca
154 pág.

Ciências Aplicadas Universidade Estácio de SáUniversidade Estácio de Sá

💡 1 Resposta

User badge image

Ed Verified user icon

A função da palavra-chave 'return' em funções em C é indicar o valor que a função irá retornar para a rotina de chamada. Portanto, a alternativa correta é a letra c) Apenas a afirmação III está correta.

0
Dislike0

✏️ Responder

SetasNegritoItálicoSublinhadoTachadoCitaçãoCódigoLista numeradaLista com marcadoresSubscritoSobrescritoDiminuir recuoAumentar recuoCor da fonteCor de fundoAlinhamentoLimparInserir linkImagemFórmula

Para escrever sua resposta aqui, entre ou crie uma conta

User badge image

Outros materiais