Question: THE FOLLOWING IS IN C PROGRAMMING. Please complete the code based on what the comments say. Thanks! #include #include #include #define SIZE 50 /** *

THE FOLLOWING IS IN C PROGRAMMING. Please complete the code based on what the comments say. Thanks!

#include #include #include

#define SIZE 50

/** * You are given a function called mergeWords that takes 2 string parameters. * The first parameter (oS) is a sentence, given as input to the function. * The second parameter (mS) must be an empty string (""). * The function merges all words in oS together and stores the result in mS - * (so that mS now has the same content as oS minus the spaces). * Signature of mergeWords: (char [SIZE], char [SIZE]) -> void * Example: * char aString [SIZE] = "I can program now"; * char mString [SIZE] = "", * Call to mergeWords(aString, mString) modifies mString so that it now stores "Icanprogramnow". **/ void mergeWords(char oS[SIZE], char mS[SIZE]);

/** * Main **/ int main ( void ) { /** * TODO: Test your function here. Please print expected output as well as the actual output * You need at least 4 good test cases **/

return 0; }

/** * Your declarations should go here. Feel free to make other functions if you think they'd 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!