I won't post the rest of the code, namely the reverse function, because that part isn't even reached when seg fault occurs. The part of the programme we're talking about is just a normal assignment and output.Code:int main (void) { char* s; char* p = "hello"; printf("Programme to reverse all elements in a string, using recursion."); printf("\nYou will be required to enter a word up to 20 letters long.\n"); printf("WORD: HELLO");/* p = strin(stdin);*/ printf("\n %s", p); <==== SIGSEGV s = reverse(p); puts(s); return 0; }