Question: IN C PROGRAMMING: struct bank_book { char firstname[20]; char lastname[20]; char ss_id[10]; unsigned short bankId; double balance; } (this is the struct im using for
IN C PROGRAMMING:
struct bank_book {
char firstname[20];
char lastname[20];
char ss_id[10];
unsigned short bankId;
double balance;
} (this is the struct im using for this problem)
![IN C PROGRAMMING: struct bank_book { char firstname[20]; char lastname[20]; char ss_id[10];](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f4f94f3dd9e_63866f4f94ede3d0.jpg)

(2) Define a variable called myAccountof type struct bank book, declare and initialize an array of 1000 elements called THE_BANK of type struct bank book; You should initialize the array so that all fields are assigned zero (ii) assign to the 5th element of the THE_BANK array the following information: John Smith, 21465, 990123411, 3201.23 (iv) Assume no padding takes place how many bytes is required to an identifier of type struct bank book (v) suppose that the array THE BANK is located at the address 7200 and we assign cptr- THE_BANK +5 then determine cptr
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
