Latest C Aptitude Question SOLUTION: How would you implement a substr() function that extracts a sub string from a given string?