Please help with the with the following Array, Struct and Union questions in C l
ID: 3601136 • Letter: P
Question
Please help with the with the following Array, Struct and Union questions in C language!!!!
Thanks
QUESTION 1 Fill in the table. For column 3, always assume that the given array is stored at address 0x100 (256). Answer in either hex or decimal. If you use hex, you MUST prefix with Ox Array Declaration Size (in bytess) ini 1001 int "B[25] char C[100] Address of given element A[44]- B[14] = C[42] = QUESTION 2 Fill in the table. hex or decimal. For column 3, always assume that the given array is stored at address 0x100 (256). Answer in either If you use hex, you MUST prefix with ox. Array declaration Size (in bytes) int A [10][12] int *B[8][5] char C[12][10] Address assuming array is stored at 0x100 (256) Address A[8][6] = Address BI4]14]- Address C[8][6] =Explanation / Answer
1.
Array declaration Size Address of given element
int A[100] 100 432 or (0x1B0)
int *B[25] 25 312 or (0x138)
char C[100] 100 356 or (0x164)