Pointers and Strings

Pointers and Strings:
We already know that a string is not just a 1-dimensional array of characters but it is 1 – dimensional array of characters which is terminated by a Null (‘\0’) character. This can be well defined in terms of following diagram : or more dynamically as , Whatever string you assign to this it will accommodate, since the only need is to mark the beginning and end memory locations of the string.