need some help with strings/arrays/pointers
I'm really unfamiliar with arrays and pointers, and one of my problems for homework involves both -_- I really have no idea where to go with it, so i'll just list the problem and see if you guys can get me going
4A) write a declaration to store the string "this is a sample" into an array named samtest. Invlude the declaration in a program that displays the values in samtest using a for loop that uses a pointer access to each element in the array
4B) modify the program written in exercise 4a to display only array elements 10 through 15 (these are the letters s, a, m, p, l, and e).
as always, thanks for any help in advance