19. Write a C program that converts an uppercase character to a lowercase character. Declare function char
Question:
19. Write a C program that converts an uppercase character to a lowercase character. Declare function char toLower(char ch);
to do the conversion. If ch is not an uppercase character, the function should return ch unchanged. If it is an uppercase character, add the difference of 'a' and 'A' to ch as the return value.
(a) Write your program with a global variable for the actual parameter. Translate your C program to Pep/9 assembly language.
(b) Write your program with a local variable for the actual parameter. Translate your C program to Pep/9 assembly language.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Question Posted: