Question: ( a ) Write a function that reverses a string in place using pointers. ( b ) Implement a function int strcmp ( const char

(a) Write a function that reverses a string in place using pointers.
(b) Implement a function int strcmp(const char *s1, const char *s2) that compares two strings lexicographically using pointers.
(c) Write a function that concatenates two strings into a new string, using dynamic memory allocation for the new string.

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!