xItsMatt839 xItsMatt839
  • 22-02-2024
  • Computers and Technology
contestada

What is the output of the following program?
int main(int argc, char*argv[]) {
int a[ 10 ], *p;
for(int i=0; i<10; i++) a[i] = i*10;
p = &a[2];
*(p+1) = 10;
p--; //p = &a[1]
p--; //p = & a[0] for(int i=0; i<10; i++)
printf("%d\n", *(p+i)); return 0;
}

Respuesta :

Otras preguntas

Which of the following employees is most likely to be a hub? Multiple Choice Before his next project starts, Joseph wants his boss to explain the rewards for a
Is this right? I just need to make sure. :)
Which of the following is not an effective way to prevent heart stress and stroke
WILL GIVE BRAINLEST! -- which of the following is NOT a sign of a chemical change? a.) unexpected color change b.) precipitate formation c.) gas formation d.)
which product is greater than 3/4 a.1/2 x 3/4 b.5/6 x 3/4 c.3/2 x 3/4 d.2/5 x 3/4
KL=9x+3 JL = 55, and JK = 7x +4, Find KL.
In the context of this story, what can we learn from comedy? What do you think the author is trying to express about society during his time period through this
-8(x+5)=-3x-7+x-3 what is the value of x​
10 > X - 3. Help please
what did mao zedong do good