Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions