Question: Design a function calledvoid reverse ( char * dest , const char * src ) which copies the contents of the char array pointed to

Design a function calledvoid reverse( char *dest, const char *src)which copies the contents of the char array pointed to by src into dest, in reverse order.Design a function calledint palindrome( const char *s1)which returns an integer not equal to zero if s1 is a palindrome - a or phrase that is spelt the same forwards and backwards.Implement your reverse() function in C code.Implement your palindrome() function in C code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!