Question: Problem 1.) For Fig. 10 on page 317 in the textbook, the function convertToUppercase(char *sPt) was using the library function in ctyreh. As discussed in

Problem 1.) For Fig. 10 on page 317 in the textbook, the function convertToUppercase(char *sPt) was using the library function in ctyreh. As discussed in class, please rewrite this function by yourself. Hint: please use ASCII code and by now rather than using "swith statement in C. you may use character array as lookup table. ! // Fig. 7.10: fig07_10.C 2 // Converting a string to uppercase using a 3 // non-constant pointer to non-constant data. 4 #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
