Question: c programming Question 4 Write a function named mystrcat() to concatenate two string pointers char *stri and char *str2 and return char *str. Note: DO

c programming c programming Question 4 Write a function named mystrcat() to concatenate two

Question 4 Write a function named mystrcat() to concatenate two string pointers char *stri and char *str2 and return char *str. Note: DO NOT USE strcat() from library. Extend your program with a function named convertToUppercase () to accept a character pointer char *sPtr and change all letters in the string to uppercase. Question 5 Rewrite the following using a recursive function countingUp (int n) to print from the number 1 to a given number, n, in ascending order void countingUp (int n) for (int i = 1; i 0, basew = base * based Now, modify your recursive function above to use the following formulas: Formulas: if exp = 0, baser" = 1 if exp > 0 and exp is odd, basen = base * base! if exp> 0 and exp is even, base = (base)"w/2

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!