Array Review Questions
Assume:- fixed is a 2D array of integers- the actual address of fixed is “1000”- integers are 4 bytes long
For each line, answer:1) Is it legal (compiles )?2) Can it cause a run-time error ? 3) If it runs, what is the outcome ? …int fixed[30][40];printf(“%d “,&(fixed[0][0])); /* line 1*/printf(“%d “,&(fixed[0][30])); /* line 2*/printf(“%d “,&(fixed[0][45])); /* line 3*/printf(“%d “,&(fixed[1][5])); /* line 4*/printf(“%d “,&(fixed[30][10])); /* line 5*/fixed[0][10] = 10; /* line 6*/fixed[0][10] = ‘a’; /* line 7*/fixed[30][0] = 15; /* line 8*/