r the program given below that the size of array A is 10 and beginning address of the array A is your s aced in the array in the reverse order. Data type of int is stored in 4 bytes in memory. According to th erilen program da tanımlı A dizisinin boyutu 10 ve dizinin başlangıç adresi öğrenci numaranızdır. Dizini veri tipi bellekte 4 bayt yer kaplamaktadır. Bu bilgilere göre aşağıda verilen programın ekran çıktısını aplama (Sample Calculation): No (Student A Dizisi (Array A) A'nın Adresi (Address No) of A) 7,3,0,6,0,2,0,1,8,1} 7,4,0,6,0,2,0,1,0,5) 37 1810206037 06047 2015010206047 in )( A[10]; *m, k: A: ntf ("Output 1: va\n", *(m+2)); +3) +- 4; - 5: ntf("Output 2: kd\n", (m+2)); GA[4]; &m; ntf("Output 3: sd\n", *(* (k) -1)); ntf("Output 4: sd\n", *k); a - 2: ntf ("Output 5: d\n", *k):

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section: Chapter Questions
Problem 6PP: (Numerical) a. Define an array with a maximum of 20 integer values, and fill the array with numbers...
icon
Related questions
Question

my student number is:1910205020

Assume for the program given below that the size of array A is 10 and beginning address of the array A is your student number. The elements of the array are your student
number placed in the array in the reverse order. Data type of int is stored in 4 bytes in memory. According to this information, write the output of the program given below.
Aşağıda verilen program da tanımlı A dizisinin boyutu 10 ve dizinin başlangıç adresi öğrenci numaranızdır. Dizinin elemanlan öğrenci numaranızın ters sırada diziye yerleştirilmiş
halidir. int veri tipi bellekte 4 bayt yer kaplamaktadır. Bu bilgilere göre aşağıda verilen programın ekran çıktısını yazınız.
Örnek Hesaplama (Sample Calculation):
öğrenci No (Student
Aʼnın Adresi (Address
of A)
A Dizisi (Array A)
No)
1810206037
(7,3,0,6,0,2,0,1,8,1}
1810206037
2015010206047
(7,4,0,6,0,2,0,1,0,5)
2015010206047
void main((
int A(10];
int m, *:
m - A:
printf ("Output 1: sd\n", * (m+2)):
* (m+3) +- 4;
m += 5;
printf ("Output 2: sa\n", (m+2));
m - GA[4];
k - Am;
printf("Output 3: sd\n", *(* (k) -1));
printf ("Output 4: sd\n", k);
m = m - 2:
printf ("Output 5: id\n", *k) :
Transcribed Image Text:Assume for the program given below that the size of array A is 10 and beginning address of the array A is your student number. The elements of the array are your student number placed in the array in the reverse order. Data type of int is stored in 4 bytes in memory. According to this information, write the output of the program given below. Aşağıda verilen program da tanımlı A dizisinin boyutu 10 ve dizinin başlangıç adresi öğrenci numaranızdır. Dizinin elemanlan öğrenci numaranızın ters sırada diziye yerleştirilmiş halidir. int veri tipi bellekte 4 bayt yer kaplamaktadır. Bu bilgilere göre aşağıda verilen programın ekran çıktısını yazınız. Örnek Hesaplama (Sample Calculation): öğrenci No (Student Aʼnın Adresi (Address of A) A Dizisi (Array A) No) 1810206037 (7,3,0,6,0,2,0,1,8,1} 1810206037 2015010206047 (7,4,0,6,0,2,0,1,0,5) 2015010206047 void main(( int A(10]; int m, *: m - A: printf ("Output 1: sd\n", * (m+2)): * (m+3) +- 4; m += 5; printf ("Output 2: sa\n", (m+2)); m - GA[4]; k - Am; printf("Output 3: sd\n", *(* (k) -1)); printf ("Output 4: sd\n", k); m = m - 2: printf ("Output 5: id\n", *k) :
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Web Page
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning