Worksheet 2
Worksheet 2
Worksheet II
a.
1 g.
12 5
123 454
1234 34543
12345 2345432
b. 123454321
123 2345432
456 34543
789 454
c. 5
12345 h.
2345 abcdefg
345 abcdef
45 abcde
5 abcd
d. abc
12345 ab
1234 a
123 i.
12 a
1 bc
e. de f
543212345 gh i j
5432345 kl mno
54345 pq r stu
545 k.
5 abcdef
545 bcdef
54345 cdef
5432345 def
543212345 ef
f
f. *********
*********
*********
*********
15. correct the following code so that it should print the elements of the array, using
pointer arithmetic: