Buscar

What is the correct sequence of actions performed by the compiler and linker when compiling a program that uses functions from the standard library...

What is the correct sequence of actions performed by the compiler and linker when compiling a program that uses functions from the standard library?
The compiler compiles the program and generates object code, the linker locates the functions in the library and inserts the appropriate calls to them in the object code
The linker compiles the program and generates object code, the compiler locates the functions in the library and inserts the appropriate calls to them in the object code
The compiler and linker work together to compile the program and generate object code, then locate the functions in the library and insert the appropriate calls to them in the object code
The compiler and linker work together to compile the program and generate object code, then execute the program

💡 1 Resposta

User badge image

Ed Verified user icon

A sequência correta de ações realizadas pelo compilador e linker ao compilar um programa que usa funções da biblioteca padrão é:
O compilador compila o programa e gera o código objeto, o linker localiza as funções na biblioteca e insere as chamadas apropriadas para elas no código objeto. Portanto, a alternativa correta é: "O compilador compila o programa e gera o código objeto, o linker localiza as funções na biblioteca e insere as chamadas apropriadas para elas no código objeto".

0
Dislike0

Faça como milhares de estudantes: teste grátis o Passei Direto

Esse e outros conteúdos desbloqueados

16 milhões de materiais de várias disciplinas

Impressão de materiais

Agora você pode testar o

Passei Direto grátis

Você também pode ser Premium ajudando estudantes

✏️ 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