Question: C-PROGRAMMING Write a function in C program that ,depending on the direction flag replaces lowercase letters with uppercase letters or uppercase letters with lowercase letters
C-PROGRAMMING
Write a function in C program that ,depending on the direction flag replaces lowercase letters with uppercase letters or uppercase letters with lowercase letters and returns the number of changes. The function should have the following parameters: string, direction flag. Choose correct datatypes for parameters and return value.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
