Assume for the program given below that the size of array A is 10 and beginning memory address of the array A is your real student number. Also assume that 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. (Sample Calculation): Öğrenci No (Student No) 1810206037 A Dizisi (Array A) A'nın Adresi (Address of A) {7,3,0,6,0,2,0,1,8,1} {7,4,0,6,0,2,0,1,0,5} 1810206037 2015010206047 2015010206047 void main () int A[10]; int *m, **k; m = A; printf("Output 1: d\n", *(m+1)): * (m+2) + 3; m += 4; printf("Output 2: d\n", (m+1)): m - SA[1]; k = sm; printf("Output 3: d\n", *(* (k) +1)): printf("Output 4: %d\n", *k) : m = m - 1; printf("Output 5: d\n", *k):

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

could you help me please in this question

My name is Fatima Ahmed Alsabahi

My student number is 1910213530

Assume for the program given below that the size of array A is 10 and beginning memory
address of the array A is your real student number. Also assume that 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.
(Sample Calculation):
A Dizisi (Array A)
A'nın Adresi (Address
of A)
öğrenci No (Student
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[101;
int *m, **k;
m = A;
printf("Output 1: $d\n", (m+1)):
* (m+2) + 3;
m += 4;
printf("Output 2: d\n", (m+1));
m = GA[1];
k = sm;
printf("Output 3: d\n", (* (k) +1)):
printf("Output 4: d\n", *k):
m = m - 1;
printf("Output 5: d\n", *k);
Transcribed Image Text:Assume for the program given below that the size of array A is 10 and beginning memory address of the array A is your real student number. Also assume that 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. (Sample Calculation): A Dizisi (Array A) A'nın Adresi (Address of A) öğrenci No (Student 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[101; int *m, **k; m = A; printf("Output 1: $d\n", (m+1)): * (m+2) + 3; m += 4; printf("Output 2: d\n", (m+1)); m = GA[1]; k = sm; printf("Output 3: d\n", (* (k) +1)): printf("Output 4: d\n", *k): m = m - 1; printf("Output 5: d\n", *k);
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY