What is the output of the following C program?
a) The program will not compile due to a syntax error in line 30.
b) The program will not compile ...
What is the output of the following C program?
a) The program will not compile due to a syntax error in line 30. b) The program will not compile due to a syntax error in line 48. c) The program will not compile due to a syntax error in line 20. d) The program will compile and run, asking for the name and grades of 8 students and then printing their names, grades, and averages.
Algoritmos e Programação I • Instituto Federal de Educação, Ciência e Tecnologia FluminenseInstituto Federal de Educação, Ciência e Tecnologia Fluminense
A resposta correta é a alternativa d) O programa irá compilar e executar, solicitando o nome e as notas de 8 alunos e, em seguida, imprimindo seus nomes, notas e médias.
0
0
✏️ Responder
Para escrever sua resposta aqui, entre ou crie uma conta
Compartilhar