7.9 Lab 7: C Strings We have been studying C string functions, and in class we reviewed these: strlen, strcpy, strncpy,

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

7.9 Lab 7: C Strings We have been studying C string functions, and in class we reviewed these: strlen, strcpy, strncpy,

Post by answerhappygod »

7.9 Lab 7: C Strings
We have been studying C string functions, and in class wereviewed these: strlen, strcpy, strncpy, strchr,strrchr, strstr,strcmp, strcat This week you will write your own version of some ofthese string functions.
**Important:
Specifically you will write one function each for the belowstages. Running the program would look like:
Stage 1: Write the myStrlen() function so thatit returns the length of the any given string
Stage 2: Write a function removeVowels()such that it removes all the vowels in the word entered by the userand returns a vowel-less word.
Stage 3: Write a functionduplicateString() such that it duplicates the string of vowel-lesswords some number of times.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply