Question: at the first one we started from the address 1 because *j =&letters[1] so we should at the second one start from address 0 because

 at the first one we started from the address 1 because

at the first one we started from the address 1 because *j =&letters[1] so we should at the second one start from address 0 because *j =&letters[0] so it should be not k

COM251 Data Structures Prepared by Dr. Imren Yeilyurt Forward or reverse scrolling between addresses with pointer variables: Let declare; int *pi; The pi +1 address represents the next address of the pi value, and the pl-1 address represents the previous address of the *pi value. Similarly, the address pi+2 indicates two addresses ahead of the address where the *pi value is located. Example: char letters[18)={"ABCDEFGHYKLMNOPR"); stort schar *j=&letters[1]; int i; j=B 15 Paddress of and odd it to be address of i itj=2 plug for(i=1;i=&letters[0]; for(i=10;i>1;i-=2) printf("%c",*(1+i)); i=1 2 1-3 jal itj = 4 pratit 3 i-5 jal j tj.=6 4G i tj-840 6 i-9 j=1 6 i=11 j=1 G ;=13 =1 i i+j=14110 8 i=15 j=1 it j = 16 118 CEGIK MOR itjJ2 11a Output: CEGIKMOR KIGEC 10 =10 5-0 jt = 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 Databases Questions!