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

What is the greatest common factor of 40 and 36
estimate each quotient... 76.2÷18.4
find two numbers the exact answer is between 3 x 567
Do covalent bonds give water a low heat capacity?
Alexis recieved an 85,89,92on three tests.How many points does she need to score on her next test in order to have an average of at least 90?
Sugars such as glucose, fructose, and ribose are examples of
Alexis recieved an 85,89,92on three tests.How many points does she need to score on her next test in order to have an average of at least 90?
What is the relationship between speed and steepness
Europe currently enjoys a very high standard of living because?
in sahara desert one day it was 136. In the gobi desert a temperature of -5 was recorded. What is the difference between these two temperatures