data structures using if(str[ =str[ ] ++ --else breakif( >=jprintf("\ palindrome")else printf("\ not palindrome")return output enter the stringmadam palindrome pointers and strings in cstrings are treated as arrays of characters that are terminated with binary zero character (written as '\ 'considerfor examplechar str[ ]str[ ' 'str[ ' 'str[ '!'str[ '\ ' provides two alternate ways of declaring and initializing string firstyou may write char str[ {' '' ''!''\ '}but this also takes more typing than is convenient soc permits char str[ "hi!"when the double quotes are useda null character ('\ 'is automatically appended to the end of the string when string is declared like thisthe compiler sets aside contiguous block of the memoryi bytes longto hold characters and initializes its first four characters as hi!\ nowconsider the following program that prints text #include int main(char str["hello"char *pstrpstr strprintf("\ the string is ")while(*pstr !'\ 'printf("% "*pstr)pstr++return output the string ishello