Question: a. Write a procedure named myStrcpy(char s(), char that copies t into s and then prints the value of S. (10 pts) 1. Write a

 a. Write a procedure named myStrcpy(char s(), char that copies t

a. Write a procedure named myStrcpy(char s(), char that copies t into s and then prints the value of S. (10 pts) 1. Write a procedure named shiftAlpha (char s(l) that shifts all capital letter alphabet characters of s by 2. At the end, the function prints the value of the modified string s. (15 Ps) - Example: if the value of a character is 'A', it becomes 'C' ('C'--'A'+2). If it is 'Y', it becomes 'A' and if it is 'Z', it becomes 'B'. Note that the ASCII values of A and Z are 65 and 90 respectively. c. Write a main function that asks the user to enter the value of an array of characters s[100]. Then it calls the procedure 'shiftAlpha(s)'. (5 pts)

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!