strings learning objective in the last we discussed array of integers taking step furtherin this we will discuss array of characters commonly known as strings we will see how strings are storeddeclaredinitializedand accessed we will learn about different operations that can be performed on strings as well as about array of strings introduction nowadayscomputers are widely used for word processing applications such as creatinginsertingupdatingand modifying textual data besides thiswe need to search for particular pattern within textdelete itor replace it with another pattern sothere is lot that we as users do to manipulate the textual data in ca string is null-terminated character array this means that after the last charactera null character ('\ 'is stored to signify the end of the character array for exampleif we write char str["hello"then we are declaring an array that has five charactersnamelyhelland apart from these charactersa null character ('\ 'is stored at the end of the string sothe internal representation of the string becomes hello'\ to store string of length we need locations ( extra for the null characterthe name of the character array (or the stringis pointer to the beginning of the string figure shows the difference between character storage and string storage if we had declared str as char str[ "hello"then the null character will not be appended automatically to the character array this is because str can hold only characters and the characters in hello have already filled the space allocated to it