KNOW:
BE ABLE TO:
Sample Exam Question:
Write a function that will capitalize all the vowels in a string. Here are the pre- and post-conditions for the function, and the function heading:
PRE: string1 is a string. string2 points to an array with length >= strlen(string1)
POST: string2 is a string identical to string1, except that all vowels
in string1 have been converted to capital letters in string2
void bigVowels (const char *string1, char *string2)
Use pointers to solve this problem (don't use array subscripts).
You may use the function toupper() (from ctype.h).