Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Code it in C program. It is urgent please 2) Write a function void Star_fill (char str1[])) that will fill up a variable-length string with
Code it in C program. It is urgent please
2) Write a function void Star_fill (char str1[])) that will fill up a variable-length string with stars to its maximum size. For example, if the array is char str [12] and user input is CSE115. Star_fill() function would add five stars (one of which would overwrite the null character) and finish the string with the null character. Be sure your function would work if no star fill were necessary. Input: CSE115 Output: CSE115*****Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started