johnggarcia johnggarcia
  • 13-10-2020
  • Computers and Technology
contestada

Question 4: What will be the output of the code? Show a complete analysis.

#include
int main(void)
{
int A[3][3]={{1,4,3},{6,2,4},{-3,8,2}};
int s;
for(int i = 0; i<=2; i++)
{
S = ALOIi]+A[111]+A[21i];
printf("%d",s);
}
return 0;
}

Respuesta :

shacbs
shacbs shacbs
  • 22-10-2020

Answer:

The output of the code is 8

Answer Link

Otras preguntas

why were byzantine scholars so important to western europe
A jet flies 3,360 miles from New York to Paris in about 2.7 hours. About how many hours would the jet take to fly 5,687 miles from Paris to Rio de Janeiro?
Which of the following is an example of how a scientist might use a model? Microscopes are used to magnify a group of cells on sets of slides. Marbles pla
What was the wealthy Egyptians entertainment
Solve for B. A = 3(B + C)
why you think Americans’ viewpoints differ on the cause and legacy of the US Civil War
Which us president established the consumer bill of rights in 1962?
According to hobbes what was the reason for a social contract
A coin with a 0.71 probability for a head is flipped 4 times. find the probability of obtaining exactly 2 heads
When liquid water is exposed to 32 fahrenheit it??