Question: int * iptr , nums | 1 0 ] , i; nums [ i ] = 1 0 0 0 ; * iptr = 2

int *iptr, nums|10], i;
nums [ i]=1000;
*iptr =2000;
where do lines 2 and 3 write?
A. Somewhere unknown in program data space
B. In someone else's data space
C. Somewhere unknown in program code space
D. Error - Segmentation Fault

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!