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):
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):
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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) :](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F6aef81a9-547a-48dc-9162-51f12544fc6b%2Fd1895657-0b02-460d-826b-da3e5be9be7a%2F1lg8ufg_processed.png&w=3840&q=75)
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
![](/static/compass_v2/shared-icons/check-mark.png)
Step 1
The content of array A is
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
0 | 2 | 0 | 5 | 0 | 2 | 0 | 1 | 9 | 1 |
Step by step
Solved in 3 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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.Recommended textbooks for you
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education