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 strcmpconst char s const char s 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
