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;
}

Relax

Respuesta :

Otras preguntas

You bike 11.2 miles in 1.4 hours at a steady rate. What equation represents the proportional relationship between the x hours you bike and the distance y in mil
What is one reason why American inventors had different ideas than English inventions?
Is 23 + 64 positive or negative?​
Can you guys tell me this is very important
What was Columbus and the Spanish monarchy hoping to find In the americas?
How does Samson feel about the note from Sir Victor? sleepy unhappy bored
Consider the function ~f(x)=9-x^2~ f(x)=9−x 2 space, f, (, x, ), equals, 9, minus, x, squared, space for ~f(x) 0~ f(x)≥0 space, f, (, x, ), is greater than or
What’s the anwser???
Do Now (12/21/2020): Evelyn sees a TV on sale for $500. She has a coupon for 15% off the TV. What will be the final cost of the TV after the discount?
ik this isn't "academic" but what are some good series or movies on Netflix to watch?