Question: In C language Do not use String library 15 points] int find (char *h, char *n) returns the index of the first occurrence of n

In C language
Do not use String library
 In C language Do not use String library 15 points] int

15 points] int find (char *h, char *n) returns the index of the first occurrence of n in the string h or -1 if it isn't found. [5 points] char ptr_to(char *h, char *n) retums a pointer to the first occurrence of n in the string h or NULL if it isn't found 14 points] is_empty(char 's) returns 1 if s is NULL, consists of only the null character () or only whitespace. retums o otherwise [5 points] str-zip(char *s1, char *s2) Returns a new string consisting of all of the characters of s1 and s2 interleaved with each other. For example, if s1 is "spongebob" and s2 is "Patrick', the function returns the string "SPpaotnrgiecbkob" 15 points] void capitalize (char "9) Changes s so that the first letter of every word is in upper case and each additional letter is in lower case. [5 points] int strcmp_ign_case (char "sl, char *s2) Compares s1 and s2 ignoring case. Returns a positive number if s1 would appear after s2 in the dictionary, a negative number if it would appear before s2, or o if the two are equal. [3 points] void take_last (char s, int n) f n is > the length Modifies s so that it consists of only its last n characters

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 Databases Questions!