Question: Given the following code: struct MyStruct { int i; int j [ 1 0 0 ] ; int k; } ; int main ( )

Given the following code:
struct MyStruct {
int i;
int j[100];
int k;
};
int main(){
MyStruct ms[200];
int value = ms[11].j[33];
}
Assuming ms is in memory at 48,516(base 10), what memory address would be loaded for ms[11].j[33]? Give your answer in base 10.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!