Question: *Code starts here NOTE: You should NOT use array notation inside your functions. Use only * pointer notation for any code that you write. *

*Code starts here

NOTE: You should NOT use array notation inside your functions. Use only * pointer notation for any code that you write. * */

#include #include // NO additional imports allowed. You *can* make helper functions if you wish.

#define MAX_STRING_LEN 1024

void split_vowels(char *str, char *vowels) { /** * Move all of the vowels from `str` (in the order of appearance) to the * string `vowels`. (ie, after the function call `str` should not have any * vowels in it). You may assume there is enough space allocated in `vowels`. * * Look at the test case below for an example. */

return; // Not returning anything. `str` and `vowels` modified directly. }

I did not include a main function but you are welcome to for testing

Please do NOT include any other c libraries (I've asked this question on chegg and libraries are being used when they are not allowed to be included.) only use the two already included

Also please make sure to USE pointers and NOT arrays directly

Thanks for the help :)

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!