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 these is a way to show the number 26?
what fraction is less than 5/6 and has denominator of 8
The following atoms are all variations of the element carbon: 12C, 13C, and 14C due to differing numbers of neutrons. What are these variations called? a. Mole
Prove that 3:8 is equivalent to 12:32. Also: Use diagrams to support your answer Use the description of equivalent ratios to support your answer.
kevin is making a banner with an area of 7 square feet. the width and length of the banner are whole numbers. what are its possible dimensions
What kind of molecule is formed when many disaccharide molecules are combined
which of the following best shows a sea breeze
rename the numbers 120,000=
You have trained all year for a marathon. In your first attempt to run a marathon, you decide that you want to complete this 26-mile race in 4.5 hours. What is
In what circumstances do scientists use observational research and opinion based research?