Assume for the program given below that the elements of arLY A pre your tudent number. Assume that Data type of int is stored in 1 byte (8 bits) in memory. According to this Information, write the output of the program gven below. Note: Use the given assumption to get the output, don't run the code in the computer you will get wrong output Örnek Hesaplama (Sample Calculation): Ögrendi No (Student No) 1810206037 2015010206047 A Dizisi (Array A) (1,8.1,0.2.0.6.0.3,7) {2,0,1,5,0,1,0,2,0,6,0,4,7) Winclude Winclude int main() ( int A[13]-(your acudent number): unaigned int s1-0, a2 -0; for (int i-0; 1<13; 1+H) if (A[1]42--0) 51- sl+A[1] else printf("Output 1 : 3y \n", sl): printf "Output 2 : Ry Vn", s2); printf ("after ai>1 Output 3 : tu in", a1) printf ("atter a2<<2 Oacput 4: u \a", 2): printf ("aAl52 Output 5t Su in", 1|=2)1 printt ("A"=2 Output 61 5 in", 9l's2)1 printi "al692 out put 71 9 \n", lss2): getcbar () return D:
Assume for the program given below that the elements of arLY A pre your tudent number. Assume that Data type of int is stored in 1 byte (8 bits) in memory. According to this Information, write the output of the program gven below. Note: Use the given assumption to get the output, don't run the code in the computer you will get wrong output Örnek Hesaplama (Sample Calculation): Ögrendi No (Student No) 1810206037 2015010206047 A Dizisi (Array A) (1,8.1,0.2.0.6.0.3,7) {2,0,1,5,0,1,0,2,0,6,0,4,7) Winclude Winclude int main() ( int A[13]-(your acudent number): unaigned int s1-0, a2 -0; for (int i-0; 1<13; 1+H) if (A[1]42--0) 51- sl+A[1] else printf("Output 1 : 3y \n", sl): printf "Output 2 : Ry Vn", s2); printf ("after ai>1 Output 3 : tu in", a1) printf ("atter a2<<2 Oacput 4: u \a", 2): printf ("aAl52 Output 5t Su in", 1|=2)1 printt ("A"=2 Output 61 5 in", 9l's2)1 printi "al692 out put 71 9 \n", lss2): getcbar () return D:
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...
Related questions
Question
Student number:2010213622
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
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
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY