Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Answer the following very clearly, showing neat working: Proper headers have bee

ID: 3800363 • Letter: A

Question

Answer the following very clearly, showing neat working: Proper headers have been declared and some valid declarations are as shown for functional C code, long double id; long long array1 [40]; int *ptr1 = array1; long double array2 [160]; int *ptr2 = array2; .a) What are the sizes of array1 and array2 in bytes? b) What are the sizes of pointers ptr1 and ptr2 in bytes? .c) ptr1 hex decimal address is given as: 0 0 2 8 F D 8 0; What is the decimal equivalent value for ptr1? ptr2 hex decimal address is given as: 0 0 2 8 F S F 0; Which array is located at lower memory address? .e) The memory locations for the array1 and array2 are assigned by (Operating System, User, first declared gets to" address. does not matter)

Explanation / Answer

(A) array1 = 320 and array2 = 2650

(B)

(C) 2686336

(E) User input

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote